Commit c133b80a authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

COMP: Fixed compiler warning.

Change-Id: I76e4786317132a09cb4329d4e055758b7389518f
parent 75535abe
......@@ -517,7 +517,7 @@ int vtkPlotPoints::GetNearestPoint(const vtkVector2f& point,
// Get the lowest point we might hit within the supplied tolerance
vtkIndexedVector2f lowPoint;
lowPoint.index = -1;
lowPoint.index = 0;
lowPoint.pos = vtkVector2f(point.X()-tol.X(), 0.0f);
low = std::lower_bound(v.begin(), v.end(), lowPoint, compVector3fX);
......
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