Skip to content
Snippets Groups Projects
Commit 1afc7d05 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Fix bug picked up by coverity.

Refs #10472
parent 6fcfdc0d
No related branches found
No related tags found
No related merge requests found
...@@ -749,6 +749,7 @@ namespace Mantid ...@@ -749,6 +749,7 @@ namespace Mantid
break; break;
} }
// if point is very close surface then there may be no valid intercept so try again // if point is very close surface then there may be no valid intercept so try again
++ntries;
} }
while(ntries < MAX_SCATTER_PT_TRIES); while(ntries < MAX_SCATTER_PT_TRIES);
if(ntries == MAX_SCATTER_PT_TRIES) if(ntries == MAX_SCATTER_PT_TRIES)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment