Skip to content

Commit

Permalink
Merge pull request #66 from ubermag/units
Browse files Browse the repository at this point in the history
Correct conversion
  • Loading branch information
samjrholt authored Oct 31, 2023
2 parents c20b594 + f8d18c8 commit 0ec1698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getting-started/unit-converter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
"source": [
"from astropy import constants as const\n",
"\n",
"induction_field = [(u.T, u.A / u.m, lambda x: x / const.mu0, lambda x: const.mu0 / x)]"
"induction_field = [(u.T, u.A / u.m, lambda x: x / const.mu0, lambda x: const.mu0 * x)]"
]
},
{
Expand Down

0 comments on commit 0ec1698

Please sign in to comment.