Commit b3d951b5 authored by Robert Maynard's avatar Robert Maynard

vtkm::Range Include function now requires half as many min/max calls

parent ddaa0df2
......@@ -136,8 +136,8 @@ struct Range
{
if (range.IsNonEmpty())
{
this->Include(range.Min);
this->Include(range.Max);
this->Min = vtkm::Min(this->Min, range.Min);
this->Max = vtkm::Max(this->Max, range.Max);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment