From ea23f11ba136cfd259dcd3a457d027291e5a2f31 Mon Sep 17 00:00:00 2001 From: Stephan Seitz <stephan.seitz@fau.de> Date: Tue, 4 Feb 2020 16:58:12 +0100 Subject: [PATCH] Use float32 instead of float in test_genereric_projection --- 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 371fe0d..1238d55 100644 --- a/tests/test_projection.py +++ b/tests/test_projection.py @@ -43,7 +43,7 @@ def test_genereric_projection(): volume = pystencils.fields('volume: float32[3d]') projections = pystencils.fields('projections: float32[2D]') - projection_matrix = pystencils_reco.matrix_symbols('T', pystencils.data_types.create_type('float'), 3, 4) + projection_matrix = pystencils_reco.matrix_symbols('T', pystencils.data_types.create_type('float32'), 3, 4) assignments = forward_projection(volume, projections, projection_matrix) print(assignments) -- GitLab