Commit afba7f27 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

preprocessor: add const declaration to temporary terms

parent cb49836a
......@@ -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 << " = ";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment