From afba7f273f8853e880e4416d129f28dc9af85756 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Tue, 1 Sep 2015 14:54:42 +0200 Subject: [PATCH] preprocessor: add const declaration to temporary terms --- preprocessor/ModelTree.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preprocessor/ModelTree.cc b/preprocessor/ModelTree.cc index 02caafbeb..10fb02f7a 100644 --- a/preprocessor/ModelTree.cc +++ b/preprocessor/ModelTree.cc @@ -1128,7 +1128,7 @@ ModelTree::writeTemporaryTerms(const temporary_terms_t &tt, ostream &output, if (IS_C(output_type)) output << "double "; else if (IS_JULIA(output_type)) - output << " @inbounds "; + output << " @inbounds const "; (*it)->writeOutput(output, output_type, tt, tef_terms); output << " = ";