Skip to content

Commit

Permalink
Merge pull request #4397 from prckent/tol
Browse files Browse the repository at this point in the history
Mixed precision check value in rotated SPOs  tests
  • Loading branch information
ye-luo authored Jan 20, 2023
2 parents 4a1f311 + 0a1098e commit 81edb01
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/QMCHamiltonians/tests/test_RotatedSPOs_NLPP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,11 @@ TEST_CASE("RotatedSPOs SplineR2R hcpBe values multi det", "[wavefunction]")

CHECK(elec.G[0][0] == ValueApprox(0.54752651));
CHECK(elec.L[0] == ValueApprox(11.066512459947848));
#if defined(MIXED_PRECISION)
CHECK(elec.L[1] == ValueApprox(-0.4830868071).epsilon(1e-3));
#else
CHECK(elec.L[1] == ValueApprox(-0.4831061477045371));

#endif

// Parameter derivatives of just the wavefunction
// Values come from QMCWaveFunctions/tests/eval_bspline_spo.py
Expand Down

0 comments on commit 81edb01

Please sign in to comment.