Skip to content

Commit 4c2ddb4

Browse files
authored
Merge pull request #248 from tttamaki/dev_ConsensusADMM_fix
bugfix: wrong initialization of ConsensusADMM
2 parents 35cbc3f + 175a94d commit 4c2ddb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproximal/optimization/primal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2074,7 +2074,7 @@ def ConsensusADMM( # pylint: disable=invalid-name
20742074
m = len(proxfs)
20752075
x_bar = x0.copy()
20762076
x_bar_old = x0.copy()
2077-
y = ncp.zeros_like(x0)
2077+
y = ncp.zeros((m, x0.size), dtype=x0.dtype)
20782078

20792079
# iterate
20802080
for iiter in range(niter):

0 commit comments

Comments
 (0)