More double promote fixes

This commit is contained in:
Ingo Weyrich
2020-02-10 20:06:43 +01:00
parent f0b5ca02e7
commit b4c0bb3acb
8 changed files with 65 additions and 107 deletions

View File

@@ -183,7 +183,7 @@ float MyCurve::getVal(LUTf &curve, int x)
if (size_t(graphW) == curve.getSize()) {
return curve[x];
} else {
return curve.getVal01(float(x) / graphW);
return curve.getVal01(x / graphW);
}
}