Closed this issue 6 years ago · 2 comments
I think here should be return std::sqrt(r2);
return std::sqrt(r2);
lambda-lanczos/include/lambda_lanczos/lambda_lanczos.hpp
Line 310 in 0858d40
Thank you for your comment and your indication is right. The routine may cause trouble in the situation r2 < 1. I've forgotten that! I'll fix it to use sqrt or 1-norm. Thank you again.
r2
The issue fixed at aa3d260.