diff --git a/pystencils/cpu/cpujit.py b/pystencils/cpu/cpujit.py index 9ca8312ebab4932c4c17e2f19f0720b42718f999..f42a2703724fc787a4e3b89a1f0bdc4eda8e3217 100644 --- a/pystencils/cpu/cpujit.py +++ b/pystencils/cpu/cpujit.py @@ -375,9 +375,9 @@ def create_function_boilerplate_code(parameter_info, name, ast_node, insert_chec np_dtype = field.dtype.numpy_dtype item_size = np_dtype.itemsize - aligned = any([a.lhs.args[2] for a in ast_node.assignments if - hasattr(a, 'lhs') and isinstance(a.lhs, cast_func) and - hasattr(a.lhs, 'dtype') and isinstance(a.lhs.dtype, VectorType)]) + aligned = any([a.lhs.args[2] for a in ast_node.assignments + if hasattr(a, 'lhs') and isinstance(a.lhs, cast_func) + and hasattr(a.lhs, 'dtype') and isinstance(a.lhs.dtype, VectorType)]) if ast_node.instruction_set and aligned: byte_width = ast_node.instruction_set['width'] * item_size