Fix for issue #4831. The data_min_idx and data_max_idx were flipped. (#5136)
Existing test cases cover this fix. In addition I have added an assert to make sure that the data_min is always less than equal to data_max.
Showing
Please
register
or
sign in
to comment