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:
parent
6e97875d81
commit
5cd202ddb5
@ -558,7 +558,7 @@ protected:
|
|||||||
lensAperture = exp( log(a1) + (log(a2) - log(a1)) / (log(f2) - log(f1)) * (log(focalLength) - log(f1)) );
|
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 {
|
} else {
|
||||||
dif = 0;
|
dif = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user