Skip to content
Snippets Groups Projects
Commit 8c73f97f authored by David Gobbi's avatar David Gobbi
Browse files

Clamp integer scalars in InterpolateTuple().

The InterpolateTuple() function was seeing an integer overflow
when used from vtkButterflySubdivisionFilter, and probably had
undetected overflow issues elsewhere.  Adding a clamp to the
interpolation code for integer types protects against overflow.

Change-Id: Ibd6ab7f79d514dbb9ea2d055cc299273b7490f7b
parent 980ce1d7
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment