Index: mttroot/mtt/bin/trans/mtt_header ================================================================== --- mttroot/mtt/bin/trans/mtt_header +++ mttroot/mtt/bin/trans/mtt_header @@ -10,10 +10,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.62 2004/07/19 22:22:25 geraint +## Fixed initialisation of ColumnVectors for -oct. +## ## Revision 1.61 2004/06/21 16:30:41 gawthrop ## Don't zero for cc code ## ## Revision 1.60 2004/06/21 16:05:58 gawthrop ## Zapped comment that causes @@ -263,11 +266,11 @@ language=$3 fun_name=${1}_${2} other=$4 # Anything else eg stdin -insertor=\<\< # help emacs sh-mode out with C++ lines +insertor=\<\< # help emacs sh-mode with C++ lines if [ -z "$system" ]; then echo 'Usage: mtt_header sys rep lang [stdin]' exit @@ -305,11 +308,11 @@ states=yes; inputs=yes; parameters=yes; output='mttdx,mtte' args=$eqnargs - zeromatrices='dx,e' + zeromatrices='dx e' ;; csex) states=yes; inputs=yes; parameters=yes; @@ -344,11 +347,11 @@ else states=yes; parameters=yes; declareinputs=yes declarestates=yes - zeromatrices=u + zeromatrices='u' fi ;; logic) states=no; inputs=no; @@ -402,11 +405,11 @@ states=yes; inputs=yes; parameters=yes; output="mttdx,mtty"; args=$eqnargs; - zeromatrices="dx,y"; + zeromatrices="dx y"; ;; sm) states=no; inputs=no; parameters=yes; @@ -435,11 +438,11 @@ inputs=no; parameters=yes; output=mttx args=mttpar declarestates=yes - zeromatrices=x + zeromatrices='x' ;; sim) states=no; inputs=no; parameters=no;