Skip to content

Commit 21949ba

Browse files
committed
minor: fix mypy error
1 parent c302ec6 commit 21949ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproximal/optimization/cls_primal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1839,7 +1839,7 @@ def setup( # type: ignore[override]
18391839

18401840
# check if tau is a vector
18411841
self.tau = self.ncp.asarray(tau, dtype=float)
1842-
if tau.size == 1:
1842+
if self.tau.size == 1:
18431843
tau_print = str(self.tau)
18441844
self.tau = self.tau * np.ones(niter)
18451845
else:

0 commit comments

Comments
 (0)