A minor bug has been detected in the MathProg translator: if some
field specified in the table statement is missing in corresponding
input table, the bug causes abnormal termination.

To fix the bug right now please replace the fragment (lines 4844-4846,
file glpmpl03.c):

         /* all fields must be set by the driver */
         for (k = 1; k <= dca->nf; k++)
            xassert(dca->type[k] != '?');

by the following fragment:

         /* all fields must be set by the driver */
         for (k = 1; k <= dca->nf; k++)
         {  if (dca->type[k] == '?')
               error(mpl, "field %s missing in input table",
                  dca->name[k]);
         }




_______________________________________________
Bug-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to