Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review setting/getting parameters. #1168

Closed
1uc opened this issue Feb 23, 2024 · 1 comment
Closed

Review setting/getting parameters. #1168

1uc opened this issue Feb 23, 2024 · 1 comment

Comments

@1uc
Copy link
Collaborator

1uc commented Feb 23, 2024

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

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.

@1uc
Copy link
Collaborator Author

1uc commented Feb 28, 2024

The pointers are set such that id == 0 is correct. Tests added here #1182.

@1uc 1uc closed this as completed Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant