static newton_cg ignoring maxiter=0

The static_newton_cg ignores maxiter=0 and instead runs without iteration limit. If maxiter=0, the static_newton_cg should, as the normal newton_cg, immediately terminate.

@lplatz @gedenhof, as you implemented the static version, could you fix this?

Assignee Loading
Time tracking Loading