Skip to content
Snippets Groups Projects
Commit 745e3c9d authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix bug when a trinary operator becomes a temporary term with block...

Fix bug when a trinary operator becomes a temporary term with block decomposition (without bytecode)
parent 9c37d3a9
No related branches found
No related tags found
No related merge requests found
......@@ -4218,6 +4218,9 @@ TrinaryOpNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
temporary_terms_t::const_iterator it = temporary_terms.find(const_cast<TrinaryOpNode *>(this));
if (it != temporary_terms.end())
{
if (output_type == oMatlabDynamicModelSparse)
output << "T" << idx << "(it_)";
else
output << "T" << idx;
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment