Skip to content

Commit

Permalink
chore: add flush in print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwnvol committed Jun 28, 2024
1 parent dd9796d commit 0f858c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commit/solvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def fista(y, A, At, omega, prox, sqrt_W=None, tol_fun=1e-4, tol_x=1e-6, max_iter
qfval = 0.5 * np.linalg.norm(res)**2

if verbose==4 :
print( "< Stopping criterion: %s >" % criterion )
print( "< Stopping criterion: %s >" % criterion, flush=True )

opt_details = {}
opt_details['residual'] = 0.5*res_norm**2
Expand Down

0 comments on commit 0f858c4

Please sign in to comment.