diff --git a/source/FAST/Algorithms/ImagePatch/PatchGenerator.cpp b/source/FAST/Algorithms/ImagePatch/PatchGenerator.cpp index 5d658934d..9c6c25aac 100644 --- a/source/FAST/Algorithms/ImagePatch/PatchGenerator.cpp +++ b/source/FAST/Algorithms/ImagePatch/PatchGenerator.cpp @@ -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() {