Skip to content

Replaced some uses of vtkMath::Round with STL rounding

Sean McBride requested to merge seanm/vtk:round-changes into master

The problem with vtkMath::Round is that is converts double to int, as opposed to long. Both can be lossy, but the former much more so.

Replaced some uses with std::round(), some with std::lround().

Merge request reports