Skip to content

Commit 82fd7e3

Browse files
committed
minor: fix TV tests
1 parent 83ebf56 commit 82fd7e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytests/test_norms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def test_Huber(par):
193193
def test_TV(par):
194194
"""TV norm of x and proximal
195195
"""
196-
tv = TV(dim=1, sigma=par['sigma'])
196+
tv = TV(dims=(par['nx'], ), sigma=par['sigma'])
197197
# norm
198198
x = np.random.normal(0., 1., par['nx']).astype(par['dtype'])
199199
derivOp = FirstDerivative(par['nx'], dtype=par['dtype'], kind='forward')

0 commit comments

Comments
 (0)