Skip to content

Commit

Permalink
fix failing test model process ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
benbovy committed Jun 30, 2017
1 parent 4dc9718 commit bb28909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xsimlab/tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class SomeProcess(Process):
some_param = Variable(())
x = ForeignVariable(Grid, 'x')
quantity = ForeignVariable(Quantity, 'quantity')
some_effect = Variable('x', provided=True)
some_effect = Variable('x', group='effect', provided=True)

def run_step(self, dt):
self.some_effect.value = self.x * self.some_param.value + dt
Expand All @@ -48,7 +48,7 @@ class OtherProcess(Process):
other_param = Variable(())
x = ForeignVariable(Grid, 'x')
quantity = ForeignVariable(Quantity, 'quantity')
other_effect = Variable('x', provided=True)
other_effect = Variable('x', group='effect', provided=True)

def run_step(self, dt):
self.other_effect.value = self.x * self.other_param.value - dt
Expand Down

0 comments on commit bb28909

Please sign in to comment.