Skip to content

Make equation parsing for state updaters more robust #24

Closed
mstimberg opened this Issue Mar 25, 2013 · 0 comments

1 participant

@mstimberg
Brian simulator member

Currently, the same sympy symbols are used for parsing of the state updaters in ExplicitStateUpdater and the equations. This has the unintended effect that the identifiers f and g in equations is interpreted as functions and not as a variables.

More generally, identifiers in the namespace should be parsed according to their role (e.g. if f refers to a Function specifier, it should be interpreted as a function, if it refers to a variable, it should be interpreted as a symbol).

@mstimberg mstimberg was assigned Mar 25, 2013
@mstimberg mstimberg pushed a commit that closed this issue May 13, 2013
Marcel Stimberg Be more precise about symbols in the state updater description and
symbols in the equation itself -- should fix problems with using
variable names such as x, f, or g. Closes #24.
deaaa97
@mstimberg mstimberg closed this in deaaa97 May 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.