change getPowerDeriv to get_power_deriv to accord with Julia function naming style

issue#70
Houtan Bastani 2015-08-18 15:49:48 +02:00
parent 73a25ed90c
commit 3bf6b14049
1 changed files with 4 additions and 1 deletions

View File

@ -2952,7 +2952,10 @@ BinaryOpNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
unpackPowerDeriv()->writeOutput(output, output_type, temporary_terms, tef_terms);
else
{
output << "getPowerDeriv(";
if (output_type == oJuliaStaticModel || output_type == oJuliaDynamicModel)
output << "get_power_deriv(";
else
output << "getPowerDeriv(";
arg1->writeOutput(output, output_type, temporary_terms, tef_terms);
output << ",";
arg2->writeOutput(output, output_type, temporary_terms, tef_terms);