Index: mttroot/mtt/bin/trans/make_ode2odes ================================================================== --- mttroot/mtt/bin/trans/make_ode2odes +++ mttroot/mtt/bin/trans/make_ode2odes @@ -7,10 +7,14 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.68 2002/04/15 10:54:31 geraint +## Statically declare outputs and initialise to zero. +## This is necessary to prevent spurious values from being output when no assignments are made (i.e. when "y(i) := 0 for all u" (Reduce:see NERO)). +## ## Revision 1.67 2002/04/09 12:04:21 geraint ## Replaced ios:: with std::ios:: for g++-3.0 compatability. ## ## Revision 1.66 2002/03/26 11:58:58 geraint ## Added cputime monitoring. @@ -423,13 +427,13 @@ #include "${sys}_def.h" #include "${sys}_sympar.h" #include "mtt_${algebraic_solver}.hh" -#ifdef STANDALONE -#include #include +#ifdef STANDALONE +#include extern ColumnVector F${sys}_ae ( ColumnVector &x, ColumnVector &u, const double &t,