Skip to content

Commit df014ce

Browse files
committed
bug: fix TV in example
1 parent 9fedec3 commit df014ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/plot_norms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127

128128
###############################################################################
129129
# We consider now the TV norm.
130-
TV = pyproximal.TV(dim=1, sigma=1.)
130+
TV = pyproximal.TV(dims=(nx, ), sigma=1.)
131131

132132
x = np.arange(-1, 1, 0.1)
133133
print('||x||_{TV}: ', l1(x))

0 commit comments

Comments
 (0)