summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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() {