Skip to content
Snippets Groups Projects
Commit 664a33dd authored by chsieh16's avatar chsieh16
Browse files

Fix typo in function name

parent 7f6a7416
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ class DTreeGEMStanleyGurobiTeacher(GEMStanleyGurobiTeacher):
gp_cons = self._gp_model.addConstr(cons)
self._prev_candidate_constr.append(gp_cons)
def _candidate_to_conjucts(self, candidate: z3.BoolRef):
def _candidate_to_conjuncts(self, candidate: z3.BoolRef):
init_path = [candidate]
stack = [init_path]
while stack:
......@@ -117,7 +117,7 @@ class DTreeGEMStanleyGurobiTeacher(GEMStanleyGurobiTeacher):
def check(self, candidate: z3.BoolRef) -> z3.CheckSatResult:
self._cexs.clear()
conjunct_iter = self._candidate_to_conjucts(candidate)
conjunct_iter = self._candidate_to_conjuncts(candidate)
print("Checking candidate", flush=True)
for conjunct in conjunct_iter:
# print(".", end='', flush=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment