Skip to content
Snippets Groups Projects
Commit c1b2a579 authored by Sean McBride's avatar Sean McBride
Browse files

Corrected calculation in vtkLookupShiftAndScale; fixed incorrect assert

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.
parent 09281a15
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment