From: hackbard Date: Wed, 11 Aug 2004 19:21:06 +0000 (+0000) Subject: debug 10000000 random numbers X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d936b3be3859d8b08e54ae5b7cb1986eaa7c29f6;p=physik%2Fnlsop.git debug 10000000 random numbers --- diff --git a/nlsop.c b/nlsop.c index 7f7f92c..ab29fd1 100644 --- 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