diff --git a/calculate_simplifications.c b/calculate_simplifications.c index 65868b4..f6c2683 100644 --- a/calculate_simplifications.c +++ b/calculate_simplifications.c @@ -493,10 +493,7 @@ void helper( if (using_me_cost < INT_MAX) { - // int assign_cost = cost + 1 + using_me_cost; - - // what if an assignment was free? - int assign_cost = cost + 0 + using_me_cost; + int assign_cost = cost + 1 + using_me_cost; if (assign_cost < simps->main.data[t].cost) {