From 3bf6b140497d7b1c9a8731184b84ab6198422dd6 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Tue, 18 Aug 2015 15:49:48 +0200 Subject: [PATCH] change getPowerDeriv to get_power_deriv to accord with Julia function naming style --- ExprNode.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ExprNode.cc b/ExprNode.cc index 7f704691..ac273fb1 100644 --- a/ExprNode.cc +++ b/ExprNode.cc @@ -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);