Index: mttroot/mtt/bin/trans/m/makedef.m ================================================================== --- mttroot/mtt/bin/trans/m/makedef.m +++ mttroot/mtt/bin/trans/m/makedef.m @@ -3,10 +3,13 @@ ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ## %% Version control history ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ## %% $Id$ ## %% $Log$ + ## %% Revision 1.7 2000/10/20 13:16:29 peterg + ## %% Reformated + ## %% ## %% Revision 1.6 1996/12/07 18:21:57 peterg ## %% Now uses fopen + file number ## %% ## %% Revision 1.5 1996/11/09 21:05:44 peterg ## %% Only generates MTTIm when at least 2 states! @@ -64,13 +67,11 @@ endif if zero_outputs>0 fprintf(deffilenum, 'matrix MTTyz(%1.0f,1);\n', zero_outputs); fprintf(deffilenum, 'matrix MTTui(%1.0f,1);\n', zero_outputs); - endif - - if internal_inputs>0 + elseif internal_inputs>0 fprintf(deffilenum, 'matrix MTTui(%1.0f,1);\n', inputs); endif if connecting_inputs>0 fprintf(deffilenum, 'matrix MTTuc(%1.0f,1);\n', connecting_inputs);