evalf/nutils

prevent division by zero in log message

Closed this issue · 0 comments

If some iteration of the arnoldi solver returns with a residual norm equal to (float) zero, then we divide by zero while formatting a debug message. This should be fixed by testing explicitly for zero newresnorm and issuing a different debug message in this case.