summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-06-02 22:30:06 +0100
committerCarl Hetherington <cth@carlh.net>2013-06-02 22:30:06 +0100
commit27e74ac5cf717233914fd017eb9ca67ee7c4af96 (patch)
tree2c4c4d4de70cac2dd10778edcad0e995e8a97191 /src
parent52528d511935d95b1a2f0dbf62bcd2af3a6288ad (diff)
parente6e329c27b5b48c4341860810dea4616cdc8e7b0 (diff)
Merge master.
Diffstat (limited to 'src')
-rw-r--r--src/lut.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lut.h b/src/lut.h
index 8363e6a4..bdb5f37f 100644
--- a/src/lut.h
+++ b/src/lut.h
@@ -33,7 +33,7 @@ public:
, _bit_depth (bit_depth)
, _gamma (gamma)
{
- _lut = new T[int(std::pow(2, _bit_depth))];
+ _lut = new T[int(std::pow(2.0f, _bit_depth))];
}
virtual ~LUT() {