newline only on display

This commit is contained in:
Max Zwiessele 2013-05-17 12:22:47 +01:00
parent d63e03e1bd
commit e7a430ab3a

View file

@ -153,5 +153,6 @@ def SCG(f, gradf, x, optargs=(), maxiters=500, max_f_eval=500, display=True, xto
# iterations. # iterations.
status = "maxiter exceeded" status = "maxiter exceeded"
if display:
print "" print ""
return x, flog, function_eval, status return x, flog, function_eval, status