-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random failures of sqmatrix_assert_hermitian
due to hard-coded error threshold
#161
Comments
Since it is a debugging assertion, it could be enabled only in debug mode, i.e. surround it with |
sqmatric_assert_hermitian
due to hard-coded error thresholdsqmatrix_assert_hermitian
due to hard-coded error threshold
It turns out that this check is surrounded by Lines 37 to 57 in 718f3fe
|
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:mpb/src/matrices/sqmatrix.c
Line 54 in 718f3fe
Since it is difficult to find a reproducible test case, there are two possible workarounds:
The text was updated successfully, but these errors were encountered: