Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/CosmoStat/ModOpt into pyt…
Browse files Browse the repository at this point in the history
…hon3.5+
  • Loading branch information
sfarrens committed Aug 5, 2019
2 parents 667a1d7 + 762a83f commit 331ecc5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ModOpt

:Version: 1.4.0

:Date: 10/07/2019
:Date: 23/07/2019

:Documentation: |link-to-docs|

Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ModOpt Documentation

:Version: 1.4.0

:Date: 10/07/2019
:Date: 23/07/2019

:Documentation: |link-to-docs|

Expand Down
5 changes: 3 additions & 2 deletions modopt/opt/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def _iterations(self, max_iter, bar=None):
if self.idx % self.metric_call_period == 0:
self._compute_metrics()

if self.converge:
if self.converge and self.verbose:
print(' - Converged!')
break

Expand Down Expand Up @@ -268,7 +268,8 @@ class FISTA(object):
]

def __init__(self, restart_strategy=None, min_beta=None, s_greedy=None,
xi_restart=None, a_cd=None, p_lazy=1, q_lazy=1, r_lazy=4):
xi_restart=None, a_cd=None, p_lazy=1, q_lazy=1, r_lazy=4,
**kwargs):

if isinstance(a_cd, type(None)):
self.mode = 'regular'
Expand Down

0 comments on commit 331ecc5

Please sign in to comment.