Fix build on Arch 32bit non SSE using gcc-6.6.1, fixes #3305, kudos to mbajor for reporting and to Floessie for providing a fix for the bug

This commit is contained in:
heckflosse 2016-05-24 23:46:43 +02:00
parent 6e97875d81
commit 5cd202ddb5

View File

@ -558,7 +558,7 @@ protected:
lensAperture = exp( log(a1) + (log(a2) - log(a1)) / (log(f2) - log(f1)) * (log(focalLength) - log(f1)) );
}
dif = abs(lensAperture - maxApertureAtFocal);
dif = std::abs(lensAperture - maxApertureAtFocal);
} else {
dif = 0;
}