Skip to content

Commit

Permalink
Fixed bug in PatchGenerator due to patch magnification now a float no…
Browse files Browse the repository at this point in the history
…t an integer
  • Loading branch information
smistad committed Jan 8, 2024
1 parent e878bfc commit f726799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/FAST/Algorithms/ImagePatch/PatchGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void PatchGenerator::loadAttributes() {
setOverlap(getFloatAttribute("patch-overlap"));
setMaskThreshold(getFloatAttribute("mask-threshold"));
setPaddingValue(getIntegerAttribute("padding-value"));
setPatchMagnification(getIntegerAttribute("patch-magnification"));
setPatchMagnification(getFloatAttribute("patch-magnification"));
}

PatchGenerator::~PatchGenerator() {
Expand Down

0 comments on commit f726799

Please sign in to comment.