diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-29 10:18:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-29 10:18:37 +0100 |
| commit | 96f8d3ab8b59cbcaf7b8b78f958dd7c10c9aada2 (patch) | |
| tree | 81d2b9507d5d7a77c828a89ad5e3b59e819d0e00 /src | |
| parent | d77d0d1bd972f6343752ca45a3d5e0a0924e2d50 (diff) | |
Try to fix compile on OS X
Diffstat (limited to 'src')
| -rw-r--r-- | src/lut.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() { |
