Skip to content

Commit

Permalink
revert temporary change
Browse files Browse the repository at this point in the history
  • Loading branch information
albestro committed Jun 12, 2023
1 parent 2aa5515 commit 61a3208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eigensolver/tridiag_solver/kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ void calcEvecsFromWeightVec(const SizeType& k_row, const SizeType& k_col, const
// Avoid NaN generated by deflated vectors.
// It is a temporary workaround until deflated vectors are moved at the end of the local matrix.
if (el_evec != 0)
el_evec = ws_el / el_evec;
el_evec = std::copysign(std::sqrt(std::abs(ws_el)), z_el) / el_evec;
}
}
}
Expand Down

0 comments on commit 61a3208

Please sign in to comment.