Newton: Shift not updated with line search
While the relative shift in Newton probably shouldn't be used as a criterion for line search since updates can be temporarily small, it is surprising that the shift isn't updated correctly. The shift refers to the full update instead of the damped update. It should be either updated correctly or line search + shift has to throw. I'm leaning towards the former.
Edited by Timo Koch