From 2b316a3acb28bd9da9ad9b26ffc1a8e8dd32cd7a Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Wed, 26 Feb 2020 14:13:41 +0100
Subject: [PATCH] Actually use `with_texture` in test

---
 tests/test_projection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_projection.py b/tests/test_projection.py
index ba5cb02..7fda852 100644
--- a/tests/test_projection.py
+++ b/tests/test_projection.py
@@ -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 += 1.
-    result = projector.project_forward(volume, use_texture=False)
+    result = projector.project_forward(volume, use_texture=with_texture)
 
     assert result is not None
     if with_backward:
-- 
GitLab