projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
353ed18
)
Cleanup: remove stray space.
author
Carl Hetherington
<cth@carlh.net>
Sat, 21 Oct 2023 12:02:07 +0000
(14:02 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 21 Oct 2023 12:02:07 +0000
(14:02 +0200)
src/piecewise_lut.h
patch
|
blob
|
history
diff --git
a/src/piecewise_lut.h
b/src/piecewise_lut.h
index ba8f5c1327e1f6990c940450008959ce78e2f278..772e0aed8d4bcd60fba4230e7e3b869d2563d77d 100644
(file)
--- 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: