diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-10-21 14:02:07 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-10-21 14:02:07 +0200 |
| commit | 6c7e11d0f7e82b94539d5098f8730eaa60d5067b (patch) | |
| tree | 265524bb73d9722da56b49dd90570c4e2460fa34 /src | |
| parent | 353ed18e817980eaa3afac6cf5d26b1f187f8803 (diff) | |
Cleanup: remove stray space.
Diffstat (limited to 'src')
| -rw-r--r-- | src/piecewise_lut.h | 2 |
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: |
