Skip to content

Commit 0a5cc01

Browse files
committed
fix bug
1 parent 18b9c75 commit 0a5cc01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

multi_physics/QED/include/picsar_qed/physics/phys_constants.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ namespace picsar::multi_physics::phys
3232
constexpr auto fine_structure = RealType(0.0072973525643);
3333

3434
template<typename RealType = double>
35-
constexpr auto eV = RealType(elementary_charge);
35+
constexpr auto eV = RealType(elementary_charge<>);
3636

3737
template<typename RealType = double>
38-
constexpr auto KeV = RealType(elementary_charge*1e3);
38+
constexpr auto KeV = RealType(elementary_charge<>*1e3);
3939

4040
template<typename RealType = double>
41-
constexpr auto MeV = RealType(elementary_charge*1e6);
41+
constexpr auto MeV = RealType(elementary_charge<>*1e6);
4242

4343
template<typename RealType = double>
44-
constexpr auto GeV = RealType(elementary_charge*1e9);
44+
constexpr auto GeV = RealType(elementary_charge<>*1e9);
4545

4646
//This constant is used for the Heaviside Lorentz unit system
4747
//(unfortunately, sqrt is not constexpr)

0 commit comments

Comments
 (0)