Index: mttroot/mtt/lib/comp/simple/SS_eqn.m ================================================================== --- mttroot/mtt/lib/comp/simple/SS_eqn.m +++ mttroot/mtt/lib/comp/simple/SS_eqn.m @@ -29,10 +29,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.24 1999/10/22 02:20:32 peterg +% %% Changed error handleing of number of attributes >2 +% %% % %% Revision 1.23 1998/12/03 16:46:16 peterg % %% Deblanked attributes so that zero attribute works. % %% % %% Revision 1.22 1998/07/28 19:05:46 peterg % %% Fixed a few bugs. @@ -209,11 +212,11 @@ if strcmp(effort_attribute, "zero") %Zero output zero_outputs = zero_outputs + 1; fprintf(filenum, "MTTyz%d := %s;\n", ... zero_outputs, varname(sname, bond_number,1)); else - mtt_error([effort_attribute, " not appropriate for an output "]); + mtt_error([effort_attribute, " not appropriate for an output (", name, ")"]); end; end; end; % Flow @@ -240,11 +243,11 @@ if strcmp(flow_attribute, "zero") %Zero output zero_outputs = zero_outputs + 1 fprintf(filenum, "MTTyz%d := %s;\n", ... zero_outputs, varname(sname, bond_number,-1)); else - mtt_error([flow_attribute, " not appropriate for an output "]); + mtt_error([flow_attribute, " not appropriate for an output (", name, ")"]); end; end; end; end; structure(3) = inputs;