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

Remove units when parsing CVODE statements #1561

Merged
merged 3 commits into from
Dec 3, 2024
Merged

Conversation

JCGoran
Copy link
Contributor

@JCGoran JCGoran commented Dec 2, 2024

No description provided.

@JCGoran JCGoran marked this pull request as ready for review December 3, 2024 09:13
@JCGoran
Copy link
Contributor Author

JCGoran commented Dec 3, 2024

While I feel like this PR provides more of a workaround than a solution, implementing it the "right" way (i.e. directly removing the nodes from the AST and making sure that the units are scaled correctly) would take much longer, so I'm inclined to merge this as-is since it properly handles the majority of the cases.

@JCGoran JCGoran merged commit 2c3c7dd into master Dec 3, 2024
12 checks passed
@JCGoran JCGoran deleted the jelic/cvode_units branch December 3, 2024 12:57
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