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
Specifically, we would like to avoid init_res_norm to be potentially non-defined:
# Compute 'error' as norm of the residualres_norm=np.linalg.norm(b, 2)
ifitr==0:
init_res_norm=res_normelse:
inti_res_norm=max(res_norm, init_res_norm)
rel_res=res_norm/init_res_norm
The text was updated successfully, but these errors were encountered:
Specifically, we would like to avoid
init_res_norm
to be potentially non-defined:The text was updated successfully, but these errors were encountered: