bug fix: in cloning binary op node, were losing the order of the power deriv

issue#70
Houtan Bastani 2011-03-23 11:36:08 +01:00
parent 212ac6b452
commit 891dd5e2f2
1 changed files with 1 additions and 1 deletions

View File

@ -3168,7 +3168,7 @@ BinaryOpNode::buildSimilarBinaryOpNode(expr_t alt_arg1, expr_t alt_arg2, DataTre
case oDifferent:
return alt_datatree.AddDifferent(alt_arg1, alt_arg2);
case oPowerDeriv:
return alt_datatree.AddBinaryOp(alt_arg1, oPowerDeriv, alt_arg2);
return alt_datatree.AddPowerDeriv(alt_arg1, alt_arg2, powerDerivOrder);
}
// Suppress GCC warning
exit(EXIT_FAILURE);