Commit ad6af295 authored by David E. DeMarle's avatar David E. DeMarle Committed by Kitware Robot

Merge topic 'infiniteLoopFix'

7861835e Fix infinite loop in traversing function.
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !3140
parents ffc47b2f 7861835e
......@@ -96,7 +96,7 @@ namespace {
// Recall that we are working with 2-pt lines
while ( !terminated )
last = pts[1];
last = (pts[0]!=last ? pts[0] : pts[1]);
t = dir * static_cast<double>(numInserted);
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