Changeset 4ec470 in git


Ignore:
Timestamp:
Dec 23, 2020, 11:37:40 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
4c6d0f9de7012e9c6c79fcf1c2094836b18e553c
Parents:
8cf4d31bb708e264c0e6082a13985538a2acd84f
Message:
move "verifyGB" to the official part
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    r8cf4d31 r4ec470  
    404404      HilbertSeries_OrbitData(i, lV, ig, mgrad, autop, trunDegHs);
    405405      return(FALSE);
     406    }
     407    else
     408/* ====== verify ============================*/
     409    if(strcmp(sys_cmd,"verifyGB")==0)
     410    {
     411      if (h->Typ()!=IDEAL_CMD)
     412      {
     413        WerrorS("expected system(\"verifyGB\",<ideal>,..)");
     414        return TRUE;
     415      }
     416      ideal F=(ideal)h->Data();
     417      #ifdef HAVE_VSPACE
     418      int cpus = (long) feOptValue(FE_OPT_CPUS);
     419      if (cpus>1)
     420        res->data=(char*)(long) kVerify2(F,currRing->qideal);
     421      else
     422      #endif
     423        res->data=(char*)(long) kVerify1(F,currRing->qideal);
     424      res->rtyp=INT_CMD;
     425      return FALSE;
    406426    }
    407427    else
     
    38713891    }
    38723892    else
    3873 /* ====== verify ============================*/
    3874     if(strcmp(sys_cmd,"verifyGB")==0)
    3875     {
    3876       if (h->Typ()!=IDEAL_CMD)
    3877       {
    3878         WerrorS("expected system(\"verifyGB\",<ideal>,..)");
    3879         return TRUE;
    3880       }
    3881       ideal F=(ideal)h->Data();
    3882       #ifdef HAVE_VSPACE
    3883       int cpus = (long) feOptValue(FE_OPT_CPUS);
    3884       if (cpus>1)
    3885         res->data=(char*)(long) kVerify2(F,currRing->qideal);
    3886       else
    3887       #endif
    3888         res->data=(char*)(long) kVerify1(F,currRing->qideal);
    3889       res->rtyp=INT_CMD;
    3890       return FALSE;
    3891     }
    3892     else
    38933893/*==================== Error =================*/
    38943894      Werror( "(extended) system(\"%s\",...) %s", sys_cmd, feNotImplemented );
Note: See TracChangeset for help on using the changeset viewer.