Changeset e6f1e6 in git for Singular/ipshell.cc


Ignore:
Timestamp:
May 17, 2016, 5:26:29 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
6f203b6a99801e807e56ef784f79d4951204b9e5
Parents:
f8fb93d1bc922d1e97207d1d5b347fe1db1eedcf
Message:
code cleanup: HAVE_RINGS is mostly not needed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    rf8fb93d re6f1e6  
    17981798#endif
    17991799
    1800 #ifdef HAVE_RINGS
    18011800void rDecomposeRing(leftv h,const ring R)
    18021801/* field is R or C */
    18031802{
     1803#ifdef HAVE_RINGS
    18041804  lists L=(lists)omAlloc0Bin(slists_bin);
    18051805  if (rField_is_Ring_Z(R)) L->Init(1);
     
    18241824  L->m[1].rtyp=LIST_CMD;
    18251825  L->m[1].data=(void *)LL;
    1826 }
     1826#else
     1827  WerrorS("rDecomposeRing");
    18271828#endif
     1829}
    18281830
    18291831
     
    20722074    rDecomposeC(&(L->m[0]),r);
    20732075  }
    2074 #ifdef HAVE_RINGS
    20752076  else if (rField_is_Ring(r))
    20762077  {
    20772078    rDecomposeRing(&(L->m[0]),r);
    20782079  }
    2079 #endif
    20802080  else if ( r->cf->extRing!=NULL )// nCoeff_is_algExt(r->cf))
    20812081  {
Note: See TracChangeset for help on using the changeset viewer.