diff options
author | Thomas White <taw@physics.org> | 2011-08-04 19:00:11 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:36 +0100 |
commit | c57e2f9ba12f5cc2ebb790a008e3f886e8541a9d (patch) | |
tree | 985f2fe5aa34c37b7a6bbf006aa8e0f477e6ef19 | |
parent | ee2f83aea5b744d9752ff382fddce50f87032950 (diff) |
"Walking" less far seems to give better results
-rw-r--r-- | src/reax.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |