Skip to content

Commit

Permalink
Make sure we update the class id (nv-legate#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
magnatelee authored Apr 20, 2022
1 parent 3df9164 commit f16dfa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legate/core/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def empty(self):
def _add(self, var1, var2):
cls = set([var1, var2])
cls_id = self._next_class_id
self._next_class_id + 1
self._next_class_id += 1
self._classes[cls_id] = cls
self._class_ids[var1] = cls_id
self._class_ids[var2] = cls_id
Expand Down

0 comments on commit f16dfa6

Please sign in to comment.