Skip to content
Snippets Groups Projects
Commit b496815c authored by patavirt's avatar patavirt
Browse files

solver: bump id on reset

parent 50443299
No related branches found
No related tags found
No related merge requests found
......@@ -103,6 +103,8 @@ class Solver:
J_tot = _array_property("_J_tot")
def reset(self):
Solver.__global_id += 1
self._id = Solver.__global_id
self._core.reset()
def _solve(
......
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