Skip to content

Commit

Permalink
🐛 fix in AugToFloat32
Browse files Browse the repository at this point in the history
  • Loading branch information
MicheleCancilla committed Mar 12, 2021
1 parent dd8ef21 commit 33fb26d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/eddl/include/ecvl/augmentations.h
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ class AugToFloat32 : public Augmentation

if (!gt.IsEmpty()) {
const_cast<Image&>(gt).ConvertTo(DataType::float32);
img.Div(divisor_gt_);
const_cast<Image&>(gt).Div(divisor_gt_);
}
}
public:
Expand Down

0 comments on commit 33fb26d

Please sign in to comment.