]> hackdaworld.org Git - physik/nlsop.git/commitdiff
debug 10000000 random numbers
authorhackbard <hackbard>
Wed, 11 Aug 2004 19:21:06 +0000 (19:21 +0000)
committerhackbard <hackbard>
Wed, 11 Aug 2004 19:21:06 +0000 (19:21 +0000)
nlsop.c

diff --git a/nlsop.c b/nlsop.c
index 7f7f92c5ab595680219c3dd2306e43722b344186..ab29fd1257165d092327952c72d23a732dbc7629 100644 (file)
--- a/nlsop.c
+++ b/nlsop.c
@@ -1384,6 +1384,7 @@ int main(int argc,char **argv)
   ne_max=get_reject_graph(&my_info,&d3_l,n_e_file,n_e_loss);
 
 #ifdef DEBUG_RAND
+ i=0;
  while(1)
  {
 #ifdef DEBUG_CP
@@ -1395,6 +1396,8 @@ int main(int argc,char **argv)
 #ifdef DEBUG_NORM
   printf("%d\n",get_rand(d3_l.max_z));
 #endif
+ if(i==10000000) return 1;
+ i++;
  }
 #endif