Skip to content

Commit

Permalink
Merge pull request #160 from mrava87/fix-proxgradprint
Browse files Browse the repository at this point in the history
bug: fix print in ProximalGradient
  • Loading branch information
mrava87 authored Jan 26, 2024
2 parents e998090 + 87936f2 commit 3ebd5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproximal/optimization/primal.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def ProximalGradient(proxf, proxg, x0, epsg=1.,
# check if epgs is a vector
if np.asarray(epsg).size == 1.:
epsg = epsg * np.ones(niter)
epsg_print = str(epsg)
epsg_print = str(epsg[0])
else:
epsg_print = 'Multi'

Expand Down

0 comments on commit 3ebd5e3

Please sign in to comment.