Changeset 09d948 in git


Ignore:
Timestamp:
Mar 4, 2021, 2:56:03 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
5ccf38ac61c03787417c340be309686a05fa83d9
Parents:
3a17e58c547f24f94c955195e62719386f5472a3
Message:
fix: liftstd with 3 args
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r3a17e5 r09d948  
    68966896                                &(hv->data.umatrix),testHomog,
    68976897                                NULL,alg);
    6898   setFlag(res,FLAG_STD); v->flag=0;
    6899   return FALSE;
    6900 }
    6901 static BOOLEAN jjLIFTSTD_LIMIT(leftv res, leftv u, leftv v, leftv w)
    6902 {
    6903   if ((v->rtyp!=IDHDL)||(v->e!=NULL)) return TRUE;
    6904   idhdl hv=(idhdl)v->data;
    6905 #ifdef HAVE_SHIFTBBA
    6906   if (rIsLPRing(currRing))
    6907   {
    6908     if (currRing->LPncGenCount < IDELEMS((ideal)u->Data()))
    6909     {
    6910       Werror("At least %d ncgen variables are needed for this computation.", IDELEMS((ideal)u->Data()));
    6911       return TRUE;
    6912     }
    6913   }
    6914 #endif
    6915   // CopyD for IDEAL_CMD and MODUL_CMD are identical:
    6916   res->data = (char *)idLiftStd((ideal)u->Data(),
    6917                                 &(hv->data.umatrix),testHomog,
    6918                                 NULL,GbDefault,(ideal)w->Data());
    69196898  setFlag(res,FLAG_STD); v->flag=0;
    69206899  return FALSE;
  • Singular/table.h

    r3a17e5 r09d948  
    849849,{D(jjLIFTSTD_ALG),    LIFTSTD_CMD,IDEAL_CMD,  IDEAL_CMD,  MATRIX_CMD, STRING_CMD, ALLOW_NC |ALLOW_RING}
    850850,{D(jjLIFTSTD_ALG),    LIFTSTD_CMD,MODUL_CMD,  MODUL_CMD,  MATRIX_CMD, STRING_CMD, ALLOW_NC |ALLOW_RING}
    851 ,{D(jjLIFTSTD_LIMIT),  LIFTSTD_CMD,IDEAL_CMD,  IDEAL_CMD,  MATRIX_CMD, IDEAL_CMD, ALLOW_NC |ALLOW_RING}
    852 ,{D(jjLIFTSTD_LIMIT),  LIFTSTD_CMD,MODUL_CMD,  MODUL_CMD,  MATRIX_CMD, MODUL_CMD, ALLOW_NC |ALLOW_RING}
    853851,{D(jjMATRIX_Id),      MATRIX_CMD, MATRIX_CMD, IDEAL_CMD,  INT_CMD,    INT_CMD, ALLOW_NC |ALLOW_RING}
    854852,{D(jjMATRIX_Mo),      MATRIX_CMD, MATRIX_CMD, MODUL_CMD,  INT_CMD,    INT_CMD, ALLOW_NC |ALLOW_RING}
Note: See TracChangeset for help on using the changeset viewer.