Changeset 389000 in git


Ignore:
Timestamp:
Feb 4, 2002, 3:23:18 PM (22 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
143730551d27a93040ea2cf6e367f92279ad2276
Parents:
9b6b582ab79ae2b89b03ab2f5f7f3595a4cf2743
Message:
*hannes: added Werror to rCompose


git-svn-id: file:///usr/local/Singular/svn/trunk@5837 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ring.cc

    r9b6b58 r389000  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ring.cc,v 1.179 2002-01-20 10:01:48 Singular Exp $ */
     4/* $Id: ring.cc,v 1.180 2002-02-04 14:23:18 Singular Exp $ */
    55
    66/*
     
    40194019    if (R->algring==NULL)
    40204020    {
     4021      WerrorS("could not create rational function coefficient field");
    40214022      goto rCompose_err;
    40224023    }
     
    40274028  else
    40284029  {
     4030    WerrorS("coefficient field must be described by `int` or `list`");
    40294031    goto rCompose_err;
    40304032  }
     
    40454047        while (i>=0) { omFree(R->names[i]); i--; }
    40464048        omFree(R->names);
     4049        Werror("var name %d must be `string`",i+1);
    40474050        goto rCompose_err;
    40484051      }
     
    40514054  else
    40524055  {
     4056    WerrorS("variable must be given as `list`");
    40534057    goto rCompose_err;
    40544058  }
     
    41334137        R->block1[j] = R->N;
    41344138      }
    4135       else goto rCompose_err;
     4139      else
     4140      {
     4141        Werror("ordering incomplete: size (%d) should be %d",R->block1[j],R->N);
     4142        goto rCompose_err;
     4143      }
    41364144    }
    41374145  }
    41384146  else
    41394147  {
     4148    WerrorS("ordering must be given as `list`");
    41404149    goto rCompose_err;
    41414150  }
     
    41494158  else
    41504159  {
     4160    WerrorS("q-ideal must be given as `ideal`");
    41514161    goto rCompose_err;
    41524162  }
Note: See TracChangeset for help on using the changeset viewer.