Skip to content

Commit d6dd475

Browse files
committed
bug: Fix call to FirstDerivative
1 parent 0d94467 commit d6dd475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproximal/proximal/TV.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def prox(self, x, tau):
211211

212212
# Update divergence vectors and project
213213
if self.ndim == 1:
214-
dx = derivOp(sol)
214+
dx = derivOp @ sol
215215
r -= 1. / (4 * gamma * mt**2) * dx
216216
weights = np.maximum(1, np.abs(r))
217217
elif self.ndim == 2:

0 commit comments

Comments
 (0)