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

equation_coefficients class can now read old equation_coefficients files (again) #501

Merged
merged 1 commit into from
May 7, 2024

Conversation

illorenzo7
Copy link
Contributor

This fixes another inadvertent error in the recent pull request #495 which broke the ability of the Python class equation_coefficients() to read the relevant equation_coefficients files with version 1. The problem was that the routine expected the length of the constants array to be 11, but only 10 constants were read in with version 1. This is fixed by simply increasing the length of the constants array and simultaneously entering "1.0" for the last entry.

Copy link
Contributor

@feathern feathern left a comment

Choose a reason for hiding this comment

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

Sorry this took so long. I now see that the failed test was related to Mac OS, which seems to be giving problems all around. This looks good otherwise, so I'm going to approve and merge.

@feathern feathern merged commit af9d229 into geodynamics:main May 7, 2024
5 of 7 checks passed
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