BlueBrain / nmodl

Code Generation Framework For NEURON MODeling Language
https://bluebrain.github.io/nmodl/
Apache License 2.0
57 stars 15 forks source link

Don't have instance copies of POINTER. #1538

Closed 1uc closed 4 weeks ago

1uc commented 1 month ago

The NRN unit-tests fail with a segfault when we try to get cached copy of the dereferenced Datums.

Since we don't need access via the cache but only through _ppvar we don't need to make them part of the instance structure.

JCGoran commented 4 weeks ago

Just for clarification, which test was failing here?

1uc commented 4 weeks ago

This one for sure:

    82 - hoctests::test_mechfunc_py (Failed)

and likely these as well:

    91 - hoctests::test_setdata_py (Failed)
    145 - api::vclamp_cpp (Failed)