From 56375832b3a961c4073168be0e38dc1c102d7c94 Mon Sep 17 00:00:00 2001 From: markus holzer <markus.holzer@fau.de> Date: Tue, 8 Dec 2020 15:18:58 +0100 Subject: [PATCH] cleaned test case further --- pystencils_tests/test_vectorization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pystencils_tests/test_vectorization.py b/pystencils_tests/test_vectorization.py index 86f2a7226..01c0a5147 100644 --- a/pystencils_tests/test_vectorization.py +++ b/pystencils_tests/test_vectorization.py @@ -7,7 +7,7 @@ from pystencils.cpu.vectorization import vectorize from pystencils.fast_approximation import insert_fast_sqrts, insert_fast_divisions from pystencils.transformations import replace_inner_stride_with_one -supported_instruction_sets = get_supported_instruction_sets() if get_supported_instruction_sets() else [] +supported_instruction_sets = get_supported_instruction_sets() if supported_instruction_sets: instruction_set = "avx" if "avx" in supported_instruction_sets else "sse" else: -- GitLab