Changeset 7cbe8e in git


Ignore:
Timestamp:
Mar 16, 2011, 5:14:06 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
4a7fc0e7f633e5d5da168f796f1ce6d072f95936
Parents:
fddf1c0b111391917a4d5965b7ddf45adb7c05d6
Message:
coeffcients Z etc. require a global ordering (in the moment)

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

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    rfddf1c r7cbe8e  
    383383      {
    384384        if (iterate) list1(prefix,h,TRUE,fullname);
    385         if (IDTYP(h)==ALIAS_CMD) PrintS("A");
     385        if (IDTYP(h)==ALIAS_CMD) PrintS("A");
    386386        if ((IDTYP(h)==RING_CMD)
    387387            || (IDTYP(h)==QRING_CMD)
     
    18641864  // ----------------------------------------
    18651865  #ifdef HAVE_PLURAL // NC! in rDecompose
    1866   if (rIsPluralRing(r)) 
     1866  if (rIsPluralRing(r))
    18671867  {
    18681868    L->m[4].rtyp=MATRIX_CMD;
     
    19851985    R->ch = R->ringflagb;
    19861986    if ((mpz_cmp_ui(R->ringflaga, 2) == 0) && (R->ringflagb <= 8*sizeof(NATNUMBER)))
    1987     {                                         
     1987    {
    19881988      /* this branch should be active for ringflagb = 2..32 resp. 2..64,
    19891989           depending on the size of a long on the respective platform */
     
    23002300          if (IDELEMS(R->algring->qideal)==1)
    23012301          {
    2302             R->minpoly=naInit(1,R);           
     2302            R->minpoly=naInit(1,R);
    23032303            lnumber n=(lnumber)R->minpoly;
    23042304            n->z=R->algring->qideal->m[0];
     
    48674867      ch = ringflagb;
    48684868      if ((mpz_cmp_ui(ringflaga, 2) == 0) && (ringflagb <= 8*sizeof(NATNUMBER)))
    4869       {                                   
     4869      {
    48704870        /* this branch should be active for ringflagb = 2..32 resp. 2..64,
    48714871           depending on the size of a long on the respective platform */
     
    50365036    goto rInitError;
    50375037
     5038#ifdef HABE_RINGS
     5039// currently, coefficients which are ring elements require a global ordering:
     5040  if (rField_is_Ring(R) && (R->pOrdSgn==-1))
     5041  {
     5042    WerrorS("global ordering required for these coefficients");
     5043    goto rInitError;
     5044  }
     5045#endif
     5046
    50385047  rTest(R);
    50395048
Note: See TracChangeset for help on using the changeset viewer.