aboutsummaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorGravatar Glenn Richardson <gtrichardson@berkeley.edu> 2020-02-24 13:19:48 -0800
committerGravatar GitHub <noreply@github.com> 2020-02-24 13:19:48 -0800
commit7ed7f58a768dbeb72ca1bc269657af8b7b2e19b0 (patch)
tree070a4f56a1e90049456ac091ffc9e62b8c1f07aa /Source
parenta4a5d023cd39393f026211dffc8318c4e8826620 (diff)
downloadWarpX-7ed7f58a768dbeb72ca1bc269657af8b7b2e19b0.tar.gz
WarpX-7ed7f58a768dbeb72ca1bc269657af8b7b2e19b0.tar.zst
WarpX-7ed7f58a768dbeb72ca1bc269657af8b7b2e19b0.zip
corrected two typos missed during review of PR-719 (#741)
Diffstat (limited to 'Source')
-rw-r--r--Source/Utils/WarpXConst.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Utils/WarpXConst.H b/Source/Utils/WarpXConst.H
index 56821fb74..9e214576f 100644
--- a/Source/Utils/WarpXConst.H
+++ b/Source/Utils/WarpXConst.H
@@ -32,8 +32,8 @@ namespace PhysConst
static constexpr amrex::Real r_e = 1./(4*MathConst::pi*ep0) * q_e*q_e/(m_e*c*c);
static constexpr double xi = (2.*alpha*alpha*ep0*ep0*hbar*hbar*hbar)/
(45.*m_e*m_e*m_e*m_e*c*c*c*c*c); // SI value is 1.3050122.e-52
- static constexpr amrex::Real xi_c2 = xi * c * c; // This should de usable for single precision, though
- // very close to smallest number possible: smallest number = 1.2e-38, xi_x2 = 1.1e-35
+ static constexpr amrex::Real xi_c2 = xi * c * c; // This should be usable for single precision, though
+ // very close to smallest number possible: smallest number = 1.2e-38, xi_c2 = 1.1e-35
}
#endif