Skip to content

Corrected calculation in vtkLookupShiftAndScale; fixed incorrect assert

Sean McBride requested to merge seanm/vtk:LUTFollowup into master

Fixed an error in a range check. Reduced chance of getting an inf from a division.

Corrected an assert to not suffer from an off-by-1 due to numerical error.

Thanks to Lucas Gandel for the report.

Merge request reports