diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-02 22:30:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-02 22:30:06 +0100 |
| commit | 27e74ac5cf717233914fd017eb9ca67ee7c4af96 (patch) | |
| tree | 2c4c4d4de70cac2dd10778edcad0e995e8a97191 /src | |
| parent | 52528d511935d95b1a2f0dbf62bcd2af3a6288ad (diff) | |
| parent | e6e329c27b5b48c4341860810dea4616cdc8e7b0 (diff) | |
Merge master.
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() { |
