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

Fix y_units bug #545

Merged
merged 3 commits into from
Feb 13, 2024
Merged

Fix y_units bug #545

merged 3 commits into from
Feb 13, 2024

Conversation

MilesCranmer
Copy link
Owner

@MilesCranmer MilesCranmer commented Feb 13, 2024

Fixes #544 by @drcassar.

Basically we were converting to Julia Array type for all input y_units, rather than only list inputs.

Surprisingly this got through the unittests because m/s was used for the units in all the tests, meaning that m (first component of the vector ['m', '/', 's']) is still a valid unit!

@MilesCranmer MilesCranmer merged commit 7946ec0 into master Feb 13, 2024
35 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.

[BUG]: Using dimensional constraints result in "UndefVarError: k not defined" error
1 participant