Skip to content

Commit

Permalink
Do not treat parameters as equation variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Stimberg committed Jun 3, 2013
1 parent 83dbb82 commit 4edb549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brian2/stateupdaters/explicit.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def __call__(self, eqs, namespace=None, specifiers=None):

# A dictionary mapping all the variables in the equations to their
# sympy representations
eq_variables = dict(((var, _symbol(var)) for var in eqs.names))
eq_variables = dict(((var, _symbol(var)) for var in eqs.eq_names))

# Generate the random numbers for the stochastic variables
stochastic_variables = eqs.stochastic_variables
Expand Down

0 comments on commit 4edb549

Please sign in to comment.