bug fix: add parenthesis around STEADY_STATE output in case it contains an expression

time-shift
Houtan Bastani 2011-08-08 18:48:03 +02:00
parent df58ef9552
commit 64ba641add
1 changed files with 2 additions and 0 deletions

View File

@ -1642,7 +1642,9 @@ UnaryOpNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
new_output_type = output_type;
break;
}
output << "(";
arg->writeOutput(output, new_output_type, temporary_terms, tef_terms);
output << ")";
return;
case oSteadyStateParamDeriv:
{