From 7e38144cef0c054b44c1a162ddb33d518eda410a Mon Sep 17 00:00:00 2001 From: David Schneller Date: Tue, 5 Sep 2023 12:06:37 +0200 Subject: [PATCH] Fix const in CopyScaleAdd --- yateto/codegen/copyscaleadd/csa_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yateto/codegen/copyscaleadd/csa_gen.py b/yateto/codegen/copyscaleadd/csa_gen.py index 20b85e7..d7ca639 100644 --- a/yateto/codegen/copyscaleadd/csa_gen.py +++ b/yateto/codegen/copyscaleadd/csa_gen.py @@ -90,7 +90,7 @@ def generate(self, cpp, routineCache): routine_name = forge_generator.get_base_name() args = [str(alpha), - aux.deduce_arg(d.term), + aux.deduce_arg(d.term, as_const=True), aux.deduce_arg(d.result), BatchedOperationsAux.NUM_ELEMENTS_NAME, BatchedOperationsAux.FLAGS_NAME,