Closed 1uc closed 6 months ago
The suspicion is that it'll always retrieve the value for id = 0. The relevant generated code is: https://github.com/BlueBrain/nmodl-references/blob/86ea3be28505f69fe6073498fc995c61f493326d/func_proc_pnt/neuron/func_proc_pnt.cpp#L194-L199
id = 0
https://github.com/BlueBrain/nmodl-references/blob/86ea3be28505f69fe6073498fc995c61f493326d/func_proc_pnt/neuron/func_proc_pnt.cpp#L243-L248
Test by using a range variable and create more than one segment to test several.
The pointers are set such that id == 0 is correct. Tests added here #1182.
id == 0
The suspicion is that it'll always retrieve the value for
id = 0
. The relevant generated code is: https://github.com/BlueBrain/nmodl-references/blob/86ea3be28505f69fe6073498fc995c61f493326d/func_proc_pnt/neuron/func_proc_pnt.cpp#L194-L199https://github.com/BlueBrain/nmodl-references/blob/86ea3be28505f69fe6073498fc995c61f493326d/func_proc_pnt/neuron/func_proc_pnt.cpp#L243-L248
Test by using a range variable and create more than one segment to test several.