brian-team/brian2 — pull request #320 by mstimberg (2014-09-17 13:37:23+00:00)
Title: Make `VariableView` more robust for subexpressions that refer to external parameters

This fixes #313 in the way we discussed. See `test_subexpression_with_constant` in `test_neurongroup.py` for examples of what works and what does not.