Commit ab10dc8f authored by Igor Babaev's avatar Igor Babaev

Merge

parents 1fcb3336 b53bf231
...@@ -124,6 +124,7 @@ class Histogram ...@@ -124,6 +124,7 @@ class Histogram
case DOUBLE_PREC_HB: case DOUBLE_PREC_HB:
return ((uint) (1 << 16) - 1); return ((uint) (1 << 16) - 1);
} }
return 1;
} }
public: public:
...@@ -135,6 +136,7 @@ class Histogram ...@@ -135,6 +136,7 @@ class Histogram
case DOUBLE_PREC_HB: case DOUBLE_PREC_HB:
return size / 2; return size / 2;
} }
return 0;
} }
private: private:
...@@ -146,6 +148,7 @@ class Histogram ...@@ -146,6 +148,7 @@ class Histogram
case DOUBLE_PREC_HB: case DOUBLE_PREC_HB:
return (uint) (((uint16 *) values)[i]); return (uint) (((uint16 *) values)[i]);
} }
return 0;
} }
uint find_bucket(double pos, bool first) uint find_bucket(double pos, bool first)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment