Skip to content

Commit 175a94d

Browse files
committed
add dtype to initialization of y in ConsensusADMM
1 parent 4fae288 commit 175a94d

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.size))
2066+
y = ncp.zeros((m, x0.size), dtype=x0.dtype)
20672067

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

0 commit comments

Comments
 (0)