Bug fix: allow external functions in model local variables

issue#70
Sébastien Villemot 2020-06-05 14:50:06 +02:00
parent 050f1cdd74
commit 931935a942
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 2 additions and 0 deletions

View File

@ -1113,6 +1113,8 @@ ModelTree::writeModelLocalVariableTemporaryTerms(temporary_terms_t &temp_term_un
for (auto &it : temporary_terms_mlv)
{
it.second->writeExternalFunctionOutput(output, output_type, temp_term_union, tt_idxs, tef_terms);
if (isJuliaOutput(output_type))
output << " @inbounds const ";