aboutsummaryrefslogtreecommitdiff
path: root/src/reax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reax.c')
-rw-r--r--src/reax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reax.c b/src/reax.c
index 8faae010..81ead49e 100644
--- a/src/reax.c
+++ b/src/reax.c
@@ -142,7 +142,7 @@ static void walk_graph(double *x, double *y, double *z, int smin, int smax,
smax = new_s + 1;
mult++;
- } while ( smax < nel/2+1 );
+ } while ( mult<5 );
modv = 2.0*pmax / (double)s;
modv *= mult-1;