ralna / RALFit

A non-linear least squares solver
Other
25 stars 6 forks source link

Norm two of d differs from normd #24

Closed talassio closed 5 years ago

talassio commented 5 years ago

in routine calculate_step of ral_nlls_internal.f90 when scaling_used is true, then normd and norm2(d) differ. See https://github.com/ralna/RALFit/blob/29ea3eec3e197d73ff15b9b755ae9a4091756eda/libRALFit/src/ral_nlls_internal.f90#L1105-L1110

normd was estimated prior to the scaling. Is this intentional?

talassio commented 5 years ago

further issue: box logic is relying on the fact that norm2(d) and normd match.