summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/piecewise_lut.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/piecewise_lut.h b/src/piecewise_lut.h
index ba8f5c13..772e0aed 100644
--- a/src/piecewise_lut.h
+++ b/src/piecewise_lut.h
@@ -58,7 +58,7 @@ public:
}
inline double lookup(double x) const {
- return x < _boundary ? _low[lrint((x / _boundary) * _low_scale)] : _high[lrint(((x - _boundary) / (1 - _boundary)) * _high_scale)];
+ return x < _boundary ? _low[lrint((x / _boundary) * _low_scale)] : _high[lrint(((x - _boundary) / (1 - _boundary)) * _high_scale)];
}
private: