sxs-collaboration / spectre

SpECTRE is a code for multi-scale, multi-physics problems in astrophysics and gravitational physics.
https://spectre-code.org
Other
154 stars 187 forks source link

Random failure in Unit.PointwiseFunctions.GeneralRelativity.Psi4 #5993

Closed wthrowe closed 1 month ago

wthrowe commented 2 months ago

Seen on my machine.

Unit.PointwiseFunctions.GeneralRelativity.Psi4
-------------------------------------------------------------------------------
/home/wthrowe/spectre/tests/Unit/PointwiseFunctions/GeneralRelativity/Test_Psi4.
cpp:111
...............................................................................

/home/wthrowe/spectre/tests/Unit/Framework/TestingFramework.hpp:116: FAILED:
  CHECK( a == appx(b) )
with expansion:
  0.34718133306750731
  ==
  Approx( 0.34718133306746574 )
with messages:
  Seed is: 2171820115 from /home/wthrowe/spectre/tests/Unit/PointwiseFunctions/
  GeneralRelativity/Test_Psi4.cpp:76
  /home/wthrowe/spectre/tests/Unit/PointwiseFunctions/GeneralRelativity/
  Test_Psi4.cpp:106: expected == python_psi_4
  a := T()=((7.68784,0.347181),(4.17294,-1.69503),(3.68125,-1.92693),(5.16166,-
  8.6186),(1.36778,-2.26292))
  b := T()=((7.68784,0.347181),(4.17294,-1.69503),(3.68125,-1.92693),(5.16166,-
  8.6186),(1.36778,-2.26292))
  a := ((7.68784,0.347181),(4.17294,-1.69503),(3.68125,-1.92693),(5.16166,-8.
  6186),(1.36778,-2.26292))
  b := ((7.68784,0.347181),(4.17294,-1.69503),(3.68125,-1.92693),(5.16166,-8.
  6186),(1.36778,-2.26292))

0.179 s: Unit.PointwiseFunctions.GeneralRelativity.Psi4
===============================================================================
test cases:  1 |  0 passed | 1 failed
assertions: 32 | 31 passed | 1 failed