Overview
Comment:Fixed bug in multi outputs:

y = $1_daeo(x(i,:),tt)'; ---> y = $1_daeo(x(i,:),tt);

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 34d74df313c95505a53229bf05e5f04caf62e4a7932fe083566205d77598b02f
User & Date: gawthrop@users.sourceforge.net on 1998-06-01 15:45:05
Other Links: branch diff | manifest | tags
Context
1998-06-15
15:14:46
Don't print if blank line check-in: 35dc943afb user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1998-06-01
15:45:05
Fixed bug in multi outputs:

y = $1_daeo(x(i,:),tt)'; ---> y = $1_daeo(x(i,:),tt); check-in: 34d74df313 user: gawthrop@users.sourceforge.net tags: origin/master, trunk

15:42:13
Initial revision check-in: 49fba9c33b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/dae2daes_m from [61521dfc81] to [2d36d30236].

11
12
13
14
15
16
17



18
19
20
21
22
23
24
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



## Revision 1.5  1998/05/13 16:42:03  peterg
## Fixed various bugs etc.
##
# Revision 1.4  1996/08/24  14:27:59  peter
# Global parameters.
# Error handling.
#







>
>
>







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.6  1998/05/14 08:14:28  peterg
## Now reads in data from the simpar file.
##
## Revision 1.5  1998/05/13 16:42:03  peterg
## Fixed various bugs etc.
##
# Revision 1.4  1996/08/24  14:27:59  peter
# Global parameters.
# Error handling.
#
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
end;

if ny>0
  i=0;
  Y = [];
  for tt=T'
    i=i+1;
    y = $1_daeo(x(i,:),tt)';
    Y = [Y; y'];
  end;
  write_matrix([T,Y], '$1_daeso');
end;

EOF








|







92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
end;

if ny>0
  i=0;
  Y = [];
  for tt=T'
    i=i+1;
    y = $1_daeo(x(i,:),tt);
    Y = [Y; y'];
  end;
  write_matrix([T,Y], '$1_daeso');
end;

EOF


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]