Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebezzam committed Jul 9, 2024
1 parent 4d97665 commit 21cc3de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_algos.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def test_trainable_recon(algorithm):
def pre_process(x, param):
return x

def post_process(x, param, residual):
def post_process(x, param, residual=None):
return x

recon = algorithm(
Expand Down Expand Up @@ -206,10 +206,10 @@ def test_trainable_batch(algorithm):
data2 = torch.rand(1, 1, 34, 64, 3, dtype=torch_type)
data2[0, 0, ...] = data1[0, 0, ...]

def pre_process(x, noise):
def pre_process(x, param):
return x

def post_process(x, noise):
def post_process(x, param, residual=None):
return x

recon = algorithm(
Expand Down

0 comments on commit 21cc3de

Please sign in to comment.