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

SOLVE a PROCEDURE. #1521

Merged
merged 1 commit into from
Oct 21, 2024
Merged

SOLVE a PROCEDURE. #1521

merged 1 commit into from
Oct 21, 2024

Conversation

1uc
Copy link
Collaborator

@1uc 1uc commented Oct 15, 2024

From inspecting NOCMODL generated code it seems that:

SOLVE proc

where proc is some procedure, simply calls the procedure and checks if it returned an error code. This PR only implements the call part and leaves the checking part for the future.

@1uc 1uc changed the title SOLVE procedure. SOLVE a PROCEDURE. Oct 15, 2024
bbpadministrator pushed a commit to BlueBrain/nmodl-references that referenced this pull request Oct 15, 2024
@1uc 1uc marked this pull request as ready for review October 21, 2024 06:47
@1uc
Copy link
Collaborator Author

1uc commented Oct 21, 2024

It should be checking the return code of the procedure. However, that requires some slightly lengthy changes, which I'd like to postpone. This allows us to compile mod files found in the nrn tests and should be correct for any correct runs.

Copy link
Contributor

@pramodk pramodk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@1uc 1uc merged commit b200275 into master Oct 21, 2024
12 checks passed
@1uc 1uc deleted the 1uc/solve-procedure branch October 21, 2024 07:30
@1uc
Copy link
Collaborator Author

1uc commented Oct 21, 2024

See #1526 for followup work.

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

Successfully merging this pull request may close these issues.

2 participants