-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
BUG: constants: fix 'exact' values table #11343
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
Conversation
69ff1fc
to
d4f32bf
Compare
…olete valued The setup should be able to override obsolete CODATA values.
Restore 'exact' values removed in f166e3a The vacuum permeabilities and permittivities are no longer exact in CODATA 2018, so add their old names as aliases (CODATA2018 lists the atomic unit separately). The characteristic impedance of vacuum is also not exact, so specify the old 'exact' value manually.
d4f32bf
to
a3ff463
Compare
Thanks @pv. @jakobjakobson13 would you mind reviewing this? |
I'm a bit busy at the moment, so it could take a week or two till I get to it. If that's no problem, I'd be honoured to do it even though I'm surprised that you ask me as I introduced the bug #11341 with my commit. |
No worries, it's not a major bug and I missed it in review too. You have spent more time on |
We can put this in first, imo, I'll rebase the other one afterward. |
Ok, CI is green and I'd like to avoid the huge revision PR follow-up to this ~6 days before branching so let's do as Pauli suggests and merge this one. I don't see any objections to the changes in the discussion above, apart from noting that these changes will eventually be superseded by the bigger PR. It may have been nice to see CI fail before/pass after for the |
Reference issue
See gh-11341
What does this implement/fix?
Restore 'exact' values removed in f166e3a
The vacuum permeabilities and permittivities are no longer exact in
CODATA 2018, so add their old names as aliases (CODATA2018 lists the
atomic unit separately).
The characteristic impedance of vacuum is also not exact, so specify the
old 'exact' value manually.
Also make the 'exact values' override system deal with overriding obsolete values.