You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default tolerance for the power method, used to calculate the norm of linear operators, is set to 1e-5. This is used when deciding if the calculated norm is small enough to be assumed to be zero and prevents the algorithm from diverging by dividing by zero.
"The operator has at least one zero eigenvector and is likely to be nilpotent")
eig_new=0.
break
x0/=x0_norm
@bosschmidt found that this incorrectly returned his operator's norm to zero, and setting the tolerance to 1e-8 eventually led to the power method calculating a correct non-zero norm value.
Perhaps this tolerance needs re-thinking.
The text was updated successfully, but these errors were encountered:
Description
The default tolerance for the power method, used to calculate the norm of linear operators, is set to 1e-5. This is used when deciding if the calculated norm is small enough to be assumed to be zero and prevents the algorithm from diverging by dividing by zero.
CIL/Wrappers/Python/cil/optimisation/operators/Operator.py
Lines 339 to 345 in 5d569dc
@bosschmidt found that this incorrectly returned his operator's norm to zero, and setting the tolerance to 1e-8 eventually led to the power method calculating a correct non-zero norm value.
Perhaps this tolerance needs re-thinking.
The text was updated successfully, but these errors were encountered: