Index: mttroot/mtt/lib/cc/mtt_euler.cc ================================================================== --- mttroot/mtt/lib/cc/mtt_euler.cc +++ mttroot/mtt/lib/cc/mtt_euler.cc @@ -10,17 +10,17 @@ #else // !STANDALONE DEFUN_DLD (mtt_euler, args, , "euler integration method") { #ifdef OCTAVE_DEV - static ColumnVector x = args(0).column_vector_value (); + ColumnVector x = args(0).column_vector_value (); const ColumnVector dx = args(1).column_vector_value (); const double ddt = args(2).double_value (); const int Nx = static_cast (args(3).double_value ()); const ColumnVector openx = args(4).column_vector_value (); #else // !OCTAVE_DEV - static ColumnVector x = args(0).vector_value (); + ColumnVector x = args(0).vector_value (); const ColumnVector dx = args(1).vector_value (); const double ddt = args(2).double_value (); const int Nx = static_cast (args(3).double_value ()); const ColumnVector openx = args(4).vector_value (); #endif // OCTAVE_DEV