The check in sqmatrix_assert_hermitian to verify the Hermitian property of the Maxwell operator occasionally fails CI due to a larger than expected error of the hard-coded value of 1e-10 from this line:
|
CHECK(err < 1e-10, "sqmatrix_assert_hermitian failed"); |
Since it is difficult to find a reproducible test case, there are two possible workarounds:
- Increase the threshold error value of 1e-10. Choosing an appropriate value may involve outputting the actual error which caused the test to fail otherwise we choose some arbitrary value.
- Disable this test entirely since it is not that useful.