added tool to convert big endian save files to little endian (dont tell anyone!)
[physik/nlsop.git] / nlsop.c
diff --git a/nlsop.c b/nlsop.c
index ca83572..2bec6ec 100644 (file)
--- a/nlsop.c
+++ b/nlsop.c
@@ -1442,6 +1442,9 @@ int main(int argc,char **argv)
   i=(c_step?c_step:0);
   while((i<my_info.steps) && (quit==0) && (escape==0))
   {
+#ifdef MORE_PRINTF
+   if(i%refresh==0) printf("step: %d\n",i);
+#endif
    for(j=0;j<my_info.cpi;j++)
    {
     x_c=get_rand(d3_l.max_x);
@@ -1462,9 +1465,6 @@ int main(int argc,char **argv)
     sprintf(cc_txt,"total c: %d",my_info.cc);
     d3_lattice_draw(&d3_l,x,y,z,25,arg_v,mode,0,NULL,0,NULL,0);
    }
-#endif
-#ifdef MORE_PRINTF
-   if(i%refresh==0) printf("step: %d\n",i);
 #endif
    if(i%resave==0 && strcmp(s_file,"") && resave!=0 && i!=0)
    {