Skip to content
Snippets Groups Projects
Commit 2b316a3a authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Actually use `with_texture` in test

parent 8bc762ad
No related merge requests found
...@@ -23,7 +23,7 @@ def test_projection(with_texture, with_backward): ...@@ -23,7 +23,7 @@ def test_projection(with_texture, with_backward):
volume = projector.new_volume_tensor(requires_grad=True if with_backward else False) volume = projector.new_volume_tensor(requires_grad=True if with_backward else False)
volume += 1. volume += 1.
result = projector.project_forward(volume, use_texture=False) result = projector.project_forward(volume, use_texture=with_texture)
assert result is not None assert result is not None
if with_backward: if with_backward:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment