Skip to content

Commit 01e5215

Browse files
committed
Fix bad names
1 parent 00c5f90 commit 01e5215

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Runtime/Solver.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public Node<T> Next(T s, in Goal<T> goal, int cap=-1){
2626
dish = dish ?? Dish<T>.Create(s, safe);
2727
initialState = s;
2828
this.goal = goal;
29-
iteration = 0;
29+
iteration = 0;
3030
avail = new NodeSet<T>(s, goal.h, !brfs, maxNodes,
3131
tolerance);
3232
return Iterate(cap);
@@ -51,8 +51,8 @@ public Node<T> Iterate(int cap=-1){
5151
status = S.CapacityExceeded;
5252
}else{
5353
status = avail
54-
? (iteration < maxIter ? S.Running : S.MaxIterExceeded)
55-
: S.Failed;
54+
? (iteration < maxIter ? S.Running : S.MaxIterExceeded)
55+
: S.Failed;
5656
}
5757
return null;
5858
}

0 commit comments

Comments
 (0)