From 5024a79b7778660169c9ad06225cbb9310574275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B6nig?= <jan.hoenig@fau.de> Date: Fri, 11 Feb 2022 19:50:59 +0100 Subject: [PATCH] Fixing pipelines. --- pystencils/backends/cbackend.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pystencils/backends/cbackend.py b/pystencils/backends/cbackend.py index 1fe86bbc2..f425eef88 100644 --- a/pystencils/backends/cbackend.py +++ b/pystencils/backends/cbackend.py @@ -304,7 +304,8 @@ class CBackend: rhs_type = get_type_of_expression(node.rhs) if type(rhs_type) is not VectorType: - raise ValueError(f'Cannot vectorize inside of the pretty printer! This should have happen earlier!') + raise ValueError(f'Cannot vectorize {node.rhs} of type {rhs_type} inside of the pretty printer! ' + f'This should have happen earlier!') # rhs = CastFunc(node.rhs, VectorType(rhs_type)) # Unknown width else: rhs = node.rhs -- GitLab