Changeset 94a065c in git


Ignore:
Timestamp:
Aug 12, 2011, 5:19:07 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '52dcfddee5ec87d404d5e0fb44f2d627608208f1')
Children:
e824171d985f5ae877a9d889f80c776454e5db4d
Parents:
cfecd22c01301e6e57986bb28c493771a672a424
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-08-12 17:19:07+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:22:44+01:00
Message:
fix cfImPart (coeffs.h)
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rcfecd2 r94a065c  
    41244124static BOOLEAN jjL2R(leftv res, leftv v)
    41254125{
    4126   res->data=(char *)syConvList((lists)v->Data());
     4126  res->data=(char *)syConvList((lists)v->Data(),FALSE);
    41274127  if (res->data != NULL)
    41284128    return FALSE;
     
    42094209    typedef struct snumber_dummy  *number_dummy;
    42104210 
    4211     number_dummy z=(number)omAlloc(sizeof(snumber_dummy));
     4211    number_dummy z=(number_dummy)omAlloc(sizeof(snumber_dummy));
    42124212    #if defined(LDEBUG)
    42134213    z->debug=123456;
     
    44314431    return TRUE;
    44324432  }
    4433   res->data = (char *)(long)n_Int(pGetCoeff(p),currRing);
     4433  res->data = (char *)(long)n_Int(pGetCoeff(p),currRing->cf);
    44344434  return FALSE;
    44354435}
     
    63596359  if(v4!=NULL)
    63606360  {
    6361     w=iv2array((intvec *)v4->Data());
     6361    w=iv2array((intvec *)v4->Data(),currRing);
    63626362    short *w0=w+1;
    63636363    int i=currRing->N;
     
    71897189    poly h0 = pSubst(pCopy(h), xIndex, NULL);
    71907190    intvec* v = NULL;
    7191     ideal i = singclap_factorize(h0, &v, 0);
     7191    ideal i = singclap_factorize(h0, &v, 0,currRing);
    71927192
    71937193    ivTest(v);
  • Singular/table.h

    rcfecd2 r94a065c  
    4646,{D(jjCHAR),       CHARACTERISTIC_CMD, INT_CMD,     QRING_CMD     , ALLOW_PLURAL |ALLOW_RING}
    4747#ifdef HAVE_FACTORY
    48 ,{D(jjCHARSERIES), CHAR_SERIES_CMD, MATRIX_CMD,     IDEAL_CMD     , NO_PLURAL |NO_RING}
     48// need LIBFAC
     49//,{D(jjCHARSERIES), CHAR_SERIES_CMD, MATRIX_CMD,     IDEAL_CMD     , NO_PLURAL |NO_RING}
    4950#else
    5051,{  jjWRONG ,      CHAR_SERIES_CMD, MATRIX_CMD,     IDEAL_CMD     , NO_PLURAL |NO_RING}
  • libpolys/coeffs/coeffs.h

    rcfecd2 r94a065c  
    609609{
    610610  assume(cf != NULL); assume(cf->cfImPart!=NULL);
    611   return cf->cfImpart(i,cf);
     611  return cf->cfImPart(i,cf);
    612612}
    613613
Note: See TracChangeset for help on using the changeset viewer.