diff options
Diffstat (limited to 'qfunctionconfigurator/functionconfig.cpp')
-rwxr-xr-x[-rw-r--r--] | qfunctionconfigurator/functionconfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qfunctionconfigurator/functionconfig.cpp b/qfunctionconfigurator/functionconfig.cpp index b597a902..c97aec16 100644..100755 --- a/qfunctionconfigurator/functionconfig.cpp +++ b/qfunctionconfigurator/functionconfig.cpp @@ -136,7 +136,7 @@ void Map::reload() { const n y_ = std::min<n>(max_y, std::max<n>(y, 0)); - data[x] = y_ / max_y * integral_max; + data[x] = y_ * integral_max / max_y; } } |