Skip to content
Snippets Groups Projects
Commit 87a52776 authored by Ben Cumming's avatar Ben Cumming Committed by Sam Yates
Browse files

modcc now enforces derivatives only on state variables (#392)

Derivatives should only appear on the left hand side of expressions that describe the time evolution of state variables. Without this check `modcc` segfaulted when processing a derivative expression of a non-state variable.

* Specialize the semantic analysis of `DerivativeExpression` to enforce that derivatives are only applied to state variables.
parent c76c0520
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment