From 8211edc4e830963abd0c56d73480caca06b40a51 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Thu, 10 Oct 2019 15:31:03 +0200 Subject: [PATCH] fix typo --- src/ModelTree.hh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ModelTree.hh b/src/ModelTree.hh index 2e338720..08e3b8ed 100644 --- a/src/ModelTree.hh +++ b/src/ModelTree.hh @@ -345,14 +345,12 @@ public: //! Is a given variable non-stationary? bool isNonstationary(int symb_id) const; void set_cutoff_to_zero(); - //! Helper for writing the Jacobian elements in MATLAB and C - /*! Writes either (i+1,j+1) or [i+j*no_eq] */ - //! Simplify model equations: if a variable is equal to a constant, replace that variable elsewhere in the model void simplifyEquations(); //! Find equations where variable is equal to a constant void findConstantEquations(map &subst_table) const; - + //! Helper for writing the Jacobian elements in MATLAB and C + /*! Writes either (i+1,j+1) or [i+j*no_eq] */ void jacobianHelper(ostream &output, int eq_nb, int col_nb, ExprNodeOutputType output_type) const; //! Helper for writing the sparse Hessian or third derivatives in MATLAB and C /*! If order=2, writes either v2(i+1,j+1) or v2[i+j*NNZDerivatives[2]]