Commit 5e3b74e2 authored by Paal Kvamme's avatar Paal Kvamme
Browse files

Fix typo spotted by new unit test.

parent b2bbc793
......@@ -531,7 +531,7 @@ ZgyInternalBulk::ZgyInternalBulk(
if (metadata_rw) {
const IHistHeaderAccess& hh = metadata_rw->hh();
const IInfoHeaderAccess& ih = metadata_rw->ih();
if (hh.minvalue() >= hh.maxvalue()) {
if (hh.minvalue() <= hh.maxvalue()) {
if (hh.samplecount() != 0 || hh.minvalue() != 0 || hh.maxvalue() != 0) {
if (ih.datatype() == RawDataType::Float32) {
if (_logger(1))
......
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