Overview
Comment:Fixed C,I and R causality.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 0b8f9422360c53e3be1bc3d452696e7a513c9878379e8eb9bef97cbad900fd59
User & Date: geraint@users.sourceforge.net on 2004-08-31 01:59:12
Other Links: branch diff | manifest | tags
Context
2004-08-31
02:03:26
C++ headers no longer required to simulate without Reduce.
Perl CRs work for all languages: r, m, C++, etc.
check-in: 8f17b25e1d user: geraint@users.sourceforge.net tags: origin/master, trunk
01:59:12
Fixed C,I and R causality. check-in: 0b8f942236 user: geraint@users.sourceforge.net tags: origin/master, trunk
01:29:48
CRs are applied to sorted equation files during production. check-in: c521f13e01 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/cr/perl/lin.pm from [b081e585d9] to [09da787f54].

135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
	
	if (
	    ($out_port == 1)
	    and
	    ($in_port  == 1)
	    )
	{			# single port	    
	    if ($out_causality eq $gain_causality)
	    {
		$retval = "(($input)*($gain))";
	    }	    
	    elsif ($out_causality ne $gain_causality)
	    {
		$retval = "(($input)/($gain))";
	    }
	}
    }
    
    if ($retval)







|



|







135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
	
	if (
	    ($out_port == 1)
	    and
	    ($in_port  == 1)
	    )
	{			# single port	    
	    if ($in_causality eq $gain_causality)
	    {
		$retval = "(($input)*($gain))";
	    }	    
	    elsif ($in_causality ne $gain_causality)
	    {
		$retval = "(($input)/($gain))";
	    }
	}
    }
    
    if ($retval)


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