Index: mttroot/mtt/bin/trans/dae2cse_r
==================================================================
--- mttroot/mtt/bin/trans/dae2cse_r
+++ mttroot/mtt/bin/trans/dae2cse_r
@@ -13,10 +13,13 @@
 ###############################################################
 ## Version control history
 ###############################################################
 ## $Id$
 ## $Log$
+## Revision 1.27  2005/03/21 11:50:39  gawthrop
+## Don't write an empty cseo file
+##
 ## Revision 1.26  2002/10/28 23:31:21  gawthrop
 ## Added additional term to MTTEdx to account for zdot terms on
 ## Right-Hand Side state equations
 ##
 ## Revision 1.25  2002/09/18 19:46:48  geraint
@@ -312,11 +315,11 @@
 MTTdX := MTTdXs;  %Restore the symbolic dX
 
 %% Add on input derivative terms
 MTTEdX := MTTEdX + MTTExu*MTTdu;
 %% Add on output derivative terms
-MTTEdx := MTTEdX + MTTExx*(MTTE^(-1))*MTTEdX;
+MTTEdx := MTTEdX + MTTEyx*(MTTE^(-1))*MTTEdX;
 END;
 
 
 %%%%%MTTY := MTTY + MTTEyx*MTTEdX;
 %%% This causes the matrix mismatch