Closed greschd closed 4 years ago
In _spin_reps_numeric, a trace which is slightly larger than 3 (due to numeric inaccuracy?) will lead to an invalid value in the np.arccos call. This should be fixed, probably by truncating the value of tr.
_spin_reps_numeric
np.arccos
tr
In
_spin_reps_numeric
, a trace which is slightly larger than 3 (due to numeric inaccuracy?) will lead to an invalid value in thenp.arccos
call. This should be fixed, probably by truncating the value oftr
.