Skip to content

Commit 4fae288

Browse files
committed
use x0.size instead of x0.shape[0]
1 parent 8d67ee4 commit 4fae288

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproximal/optimization/primal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2063,7 +2063,7 @@ def ConsensusADMM( # pylint: disable=invalid-name
20632063
m = len(proxfs)
20642064
x_bar = x0.copy()
20652065
x_bar_old = x0.copy()
2066-
y = ncp.zeros((m, x0.shape[0]))
2066+
y = ncp.zeros((m, x0.size))
20672067

20682068
# iterate
20692069
for iiter in range(niter):

0 commit comments

Comments
 (0)