Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

NMODL and MOD2C pass different weight indices during initialisation #680

@olupton

Description

@olupton

In the nrn_init_... method generated by NMODL for, for example, Gfluct3.mod there is a call

net_send_buffering(ml->_net_send_buffer, 0, inst->tqitem[2*pnodecount+id], -1, inst->point_process[1*pnodecount+id], nt->_t+0.0, 1.0);

where the 4th argument is -1, but in the MOD2C equivalent 0 is passed. This does not appear to have any effect on whether the tests pass, but it would be good to understand if this difference is a bug or not.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcodegenCode generation backendnecessary-featureFunctionality required for simulations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions