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 c54097a commit 4d97665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_algos.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ def test_trainable_recon(algorithm):
psf = torch.rand(1, 32, 64, 3, dtype=torch_type)
data = torch.rand(2, 1, 32, 64, 3, dtype=torch_type)

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

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

recon = algorithm(
Expand Down

0 comments on commit 4d97665

Please sign in to comment.