[BACK]Return to nd.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2018 / engine

Diff for /OpenXM_contrib2/asir2018/engine/nd.c between version 1.57 and 1.58

version 1.57, 2021/12/07 08:48:34 version 1.58, 2021/12/07 08:58:08
Line 1 
Line 1 
 /* $OpenXM: OpenXM_contrib2/asir2018/engine/nd.c,v 1.56 2021/12/05 22:41:04 noro Exp $ */  /* $OpenXM: OpenXM_contrib2/asir2018/engine/nd.c,v 1.57 2021/12/07 08:48:34 noro Exp $ */
   
 #include "nd.h"  #include "nd.h"
   
Line 2718  get_eg(&eg2); add_eg(&eg_update,&eg1,&eg2);
Line 2718  get_eg(&eg2); add_eg(&eg_update,&eg1,&eg2);
         }          }
         sugar0 = sugar;          sugar0 = sugar;
         while ( d && dg > sugar0 ) {          while ( d && dg > sugar0 ) {
           if ( DP_Print ) fprintf(asir_out,"sugar=%d done.\n",sugar);            if ( DP_Print ) fprintf(asir_out,"sugar=%d done.\n",sugar0);
           d = nd_remove_same_sugar(d,sugar);            d = nd_remove_same_sugar(d,sugar0);
           sugar0++;            sugar0++;
         }          }
       }        }
Line 3525  again:
Line 3525  again:
           }            }
           sugar0 = sugar;            sugar0 = sugar;
           while ( d && dg > sugar0 ) {            while ( d && dg > sugar0 ) {
             if ( DP_Print ) fprintf(asir_out,"sugar=%d done.\n",sugar);              if ( DP_Print ) fprintf(asir_out,"sugar=%d done.\n",sugar0);
             d = nd_remove_same_sugar(d,sugar);              d = nd_remove_same_sugar(d,sugar0);
             sugar0++;              sugar0++;
           }            }
         }          }

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>