Changeset fc86d21 in git for libpolys


Ignore:
Timestamp:
Apr 24, 2017, 4:51:33 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
d0a9fbc2ee7c69e2a05d046733d2b5eb8059f2d1
Parents:
df30f0942dced327a9323f6331d09e9e0f9e3ee2
Message:
code cleanup: syz, nres
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/ring.cc

    rdf30f0 rfc86d21  
    14341434    if (copy_qideal)
    14351435    {
    1436       #ifndef SING_NDEBUG
    1437       if (!copy_ordering)
    1438         WerrorS("internal error: rCopy0(Q,TRUE,FALSE)");
    1439       else
    1440       #endif
    1441       {
    1442       #ifndef SING_NDEBUG
    1443         WarnS("internal bad stuff: rCopy0(Q,TRUE,TRUE)");
    1444       #endif
    1445         rComplete(res);
    1446         res->qideal= idrCopyR_NoSort(r->qideal, r, res);
    1447         rUnComplete(res);
    1448       }
     1436      assume(copy_ordering);
     1437      rComplete(res);
     1438      res->qideal= idrCopyR_NoSort(r->qideal, r, res);
     1439      rUnComplete(res);
    14491440    }
    14501441    //memset: else res->qideal = NULL;
     
    43974388  {
    43984389    rComplete(res, 1);
    4399 
    44004390#ifdef HAVE_PLURAL
    44014391    if (rIsPluralRing(r))
     
    44144404    ring old_ring = r;
    44154405#endif
    4416 
    44174406    if (r->qideal!=NULL)
    44184407    {
    44194408      res->qideal= idrCopyR_NoSort(r->qideal, r, res);
    4420 
    44214409      assume(id_RankFreeModule(res->qideal, res) == 0);
    4422 
    44234410#ifdef HAVE_PLURAL
    44244411      if( rIsPluralRing(res) )
     4412      {
    44254413        if( nc_SetupQuotient(res, r, true) )
    44264414        {
    44274415//          WarnS("error in nc_SetupQuotient"); // cleanup?      rDelete(res);       return r;  // just go on...?
    44284416        }
    4429 
    4430 #endif
    4431       assume(id_RankFreeModule(res->qideal, res) == 0);
     4417        assume(id_RankFreeModule(res->qideal, res) == 0);
     4418      }
     4419#endif
    44324420    }
    44334421
     
    50795067  else
    50805068  {
     5069  #ifndef SING_NDEBUG
     5070    WarnS("rGetMaxSyzComp: order c");
     5071  #endif 
    50815072    return 0;
    50825073  }
Note: See TracChangeset for help on using the changeset viewer.