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

Report the actual variable name instead of xloc[j] #12191

Closed
casella opened this issue Apr 4, 2024 · 1 comment · Fixed by #12195
Closed

Report the actual variable name instead of xloc[j] #12191

casella opened this issue Apr 4, 2024 · 1 comment · Fixed by #12195
Assignees
Labels
COMP/OMC/Runtime Issues and pull requests related to the runtime for OMC (not simulation runtime).
Milestone

Comments

@casella
Copy link
Contributor

casella commented Apr 4, 2024

In ticket #11010, errors such as

LOG_NLS           | error   | residualFunc1409: Iteration variable xloc[2] is nan.

are reported. It is not really clear who xloc[2] is. The names of the local unknown iteration variables are known, since it is shown when turning on -lv=LOG_NLS_V. As @phannebohm suggested in that ticket

Perhaps we should try to print the actual name of the variable instead of some cryptic index.

@casella casella added the COMP/OMC/Runtime Issues and pull requests related to the runtime for OMC (not simulation runtime). label Apr 4, 2024
@casella
Copy link
Contributor Author

casella commented Apr 4, 2024

Great, thanks @phannebohm!

@casella casella added this to the 1.23.0 milestone Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COMP/OMC/Runtime Issues and pull requests related to the runtime for OMC (not simulation runtime).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants