Index: mttroot/mtt/bin/trans/dae2cse_r
==================================================================
--- mttroot/mtt/bin/trans/dae2cse_r
+++ mttroot/mtt/bin/trans/dae2cse_r
@@ -13,10 +13,14 @@
 ###############################################################
 ## Version control history
 ###############################################################
 ## $Id$
 ## $Log$
+## Revision 1.6  1998/07/19 12:44:35  peterg
+## Set MTTYz := 0 if the array is empty - avoids irritating error
+## message.
+##
 ## Revision 1.5  1998/05/20 15:23:26  peterg
 ## Put MTTYz := MTTYz outsise the BEGIN/END
 ##
 ## Revision 1.4  1998/05/20 15:13:09  peterg
 ## Writes out algebraic equations (if any).
@@ -161,14 +165,14 @@
 
 %% Add on input derivative terms
 MTTEdX := MTTEdX + MTTExu*MTTdu;
 
 
-MTTY := MTTY + MTTEyx*MTTEdX;
+%%%%%MTTY := MTTY + MTTEyx*MTTEdX;
 %%% This causes the matrix mismatch
 %%% MTTdXs and MTTdu need setting in _def.r file
-%%MTTY := MTTY +  MTTEyu*MTTdu;
+MTTY := MTTY +  MTTEyu*MTTdu;
 MTTY := MTTY + MTTEyx*(MTTE^(-1))*MTTEdX;
 
 
 END; %%of MTTNz>0