Skip to content

Commit 182fa05

Browse files
authored
Fix Groot2 extra factor of 2 (#130)
* fix values of Groot2 and metre Will fix the test failures in following pr
1 parent 2c865f0 commit 182fa05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nuTens/propagator/constants.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace nuTens
1111
namespace constants
1212
{
1313

14-
static constexpr float Groot2 = 1.52588e-4 * (units::eV * units::eV) / units::GeV; //!< sqrt(2)*G_fermi in (eV^2-cm^3)/(mole-GeV) used in calculating matter hamiltonian
14+
static constexpr double Groot2 = 0.76294e-4 * (units::eV * units::eV) / units::GeV; //!< sqrt(2)*G_fermi in (eV^2-cm^3)/(mole-GeV) used in calculating matter hamiltonian
1515

1616
}
1717

nuTens/propagator/units.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace units
1717
static constexpr double MeV = 1e6; // eV
1818
static constexpr double GeV = 1e9; // eV
1919

20-
static constexpr double m = 5.07614213198e6; // eV^-1
20+
static constexpr double m = 5.07614213198e6; // eV^-1
2121
static constexpr double cm = 1e-2 * m; // eV^-1
2222
static constexpr double km = 1e3 * m; // eV^-1
2323

0 commit comments

Comments
 (0)