Skip to content

Commit

Permalink
Update copyright to 2023 (#111)
Browse files Browse the repository at this point in the history
* Update LICENSE to 2023

* PDF 2022
  • Loading branch information
eduardo-rodrigues authored Jan 3, 2023
1 parent 749fdcf commit bc30249
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2018-2022, Eduardo Rodrigues.
Copyright (c) 2018-2023, Eduardo Rodrigues.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
8 changes: 4 additions & 4 deletions src/hepunits/constants/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,18 @@
# Physical constants
# -----------------------------------------------------------------------------

# Speed of light in vacuum (exact value, taken from PDG 2020)
# Speed of light in vacuum (exact value, taken from PDG 2022)
c_light = 299792458 * m / s
c_light_sq = c_light * c_light

# Electron charge
eminus = -eplus # electron charge
e_sq = eplus * eplus

# Avogadro constant (exact value, taken from PDG 2020)
# Avogadro constant (exact value, taken from PDG 2022)
Avogadro = 6.02214076e23 / mole

# Planck constant (exact value, taken from PDG 2020)
# Planck constant (exact value, taken from PDG 2022)
h_Planck = 6.62607015e-34 * joule * s

hbar_Planck = h_Planck / two_pi
Expand All @@ -91,7 +91,7 @@

hbarc_sq = hbarc * hbarc

# Boltzmann constant (exact value, taken from PDG 2020)
# Boltzmann constant (exact value, taken from PDG 2022)
k_Boltzmann = 1.380649e-23 * joule / kelvin


Expand Down
2 changes: 1 addition & 1 deletion src/hepunits/units/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
# --------------------------------------------------------------------

# Positron charge [Coulomb]
e_SI = 1.602176634e-19 # exact value, taken from PDG 2020
e_SI = 1.602176634e-19 # exact value, taken from PDG 2022


# Electric charge [Q]
Expand Down

0 comments on commit bc30249

Please sign in to comment.