preprocessor: add const declaration to temporary terms

time-shift
Houtan Bastani 2015-09-01 14:54:42 +02:00
parent cb49836a6d
commit afba7f273f
1 changed files with 1 additions and 1 deletions

View File

@ -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 << " = ";