Skip to content

Commit

Permalink
minibn: add sequential update mode
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed Jan 26, 2021
1 parent 9ef1c75 commit 4e66627
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions colomoto/minibn.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,3 +703,8 @@ def __call__(self, x):
for i in I:
y[i] = z[i]
yield y


class SequentialUpdateModeDynamics(BlockSequentialUpdateModeDynamics):
def __init__(self, sequence, model):
super().__init__([(i,) for i in sequence], model)

0 comments on commit 4e66627

Please sign in to comment.