Skip to content

Commit 3fccd67

Browse files
committed
Fix incorrect minus character
1 parent a02042b commit 3fccd67

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/constants.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import ..@add_prefixes
99
"Speed of light in a vacuum. Standard."
1010
const c = 299792458u"m/s"
1111
"Planck constant. Standard."
12-
const h = 6.62607015e34u"J/Hz"
12+
const h = 6.62607015e-34u"J/Hz"
1313
"Reduced Planck constant (h/2π). Standard."
1414
const hbar = h / (2π)
1515
"Elementary charge. Standard."
16-
const e = 1.602176634e19u"C"
16+
const e = 1.602176634e-19u"C"
1717
"Boltzmann constant. Standard."
18-
const k_B = 1.380649e23u"J/K"
18+
const k_B = 1.380649e-23u"J/K"
1919
"Avogadro constant. Standard."
2020
const N_A = 6.02214076e+23u"mol^-1"
2121

@@ -32,7 +32,7 @@ const sigma_sb = (π^2/60) * k_B^4/(hbar^3 * c^2)
3232

3333
# Measured
3434
"Fine-structure constant. Measured."
35-
const alpha = 7.2973525693e3
35+
const alpha = 7.2973525693e-3
3636
"Atomic mass unit (1/12th the mass of Carbon-12). Measured."
3737
const u = 1.66053906660e-27u"kg"
3838
"Newtonian constant of gravitation. Measured."
@@ -42,9 +42,9 @@ const mu_0 = 4π * alpha * hbar / (e^2 * c)
4242
"Vacuum electric permittivity. Measured."
4343
const eps_0 = 8.8541878128e-12u"F/m"
4444
"Electron mass. Measured."
45-
const m_e = 9.1093837015e31u"kg"
45+
const m_e = 9.1093837015e-31u"kg"
4646
"Proton mass. Measured."
47-
const m_p = 1.67262192369e27u"kg"
47+
const m_p = 1.67262192369e-27u"kg"
4848
"Neutron mass. Measured."
4949
const m_n = 1.67492749804e-27u"kg"
5050
"Bohr radius. Measured."

0 commit comments

Comments
 (0)