Luc Grosheintz

Results 129 issues of Luc Grosheintz

There's various flavours of static variables. Some are visible, like PARAMETER, some are not, like top-level LOCAL variables. We test that the variables work, however, we don't test the non-visibility...

The following MOD file is legal in NOCMODL: ``` NEURON { SUFFIX initialize } PARAMETER { p } INITIAL { p = 42.0 } ``` The parameter is converted from...

Even simple changes like: * making `J` row-major * `(X - X_old)/dt = dX` -> `X = X_old + dt*dX` are practically almost impossible because they require changing the hard...

The following MOD file: ``` NEURON { SUFFIX disc GLOBAL k, a0 } PARAMETER { k = 1 } STATE { a } INITIAL { a = a0 } BREAKPOINT...

When doing ``` SOLVE proc ``` where `proc` is a PROCEDURE, the behaviour in NOCMODL is to check the return code of `proc` if it indicates failure, the failure is...

The situation in NOCMODL is relatively simple. User-defined identifiers start with `[a-zA-Z]`. Which leaves all variables that start with `_[a-z]` free (`_[A-Z]` are taken by the compiler/standard library). This is...

The facts are: * `PyTuple_SetItem` steals its third argument [1]. * `hocobj_new` returns a new reference. * `cpp2refstr` returns a new reference. In both cases the reason it leaks is...