Right now, the stoppping criteria (safe guard) for too small of a step uses the norm of the first gradient. The reason for this is that sometimes things break on the first iteration and we don't want an infinite loop. However, after the first iteration, we should base things off of the norm of dx_typ.
Right now, the stoppping criteria (safe guard) for too small of a step uses the norm of the first gradient. The reason for this is that sometimes things break on the first iteration and we don't want an infinite loop. However, after the first iteration, we should base things off of the norm of
dx_typ
.