Changeset 6a4ba5f in git


Ignore:
Timestamp:
Sep 12, 2011, 5:26:29 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
d67fcad45b24dac7faa0f1b23dc90bec67b9de70
Parents:
43568ca9f856f5176ea8760271270a627b20bff6
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-09-12 17:26:29+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:44+01:00
Message:
removed some use of currRing in ideals.h
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r43568c r6a4ba5f  
    27752775  res->data = (char *)idQuot((ideal)u->Data(),(ideal)v->Data(),
    27762776    hasFlag(u,FLAG_STD),u->Typ()==v->Typ());
    2777   idDelMultiples((ideal)(res->data));
     2777  id_DelMultiples((ideal)(res->data),currRing);
    27782778  return FALSE;
    27792779}
     
    31293129  if (sw & SIMPL_LMDIV)
    31303130  {
    3131     idDelDiv(id);
     3131    id_DelDiv(id,currRing);
    31323132  }
    31333133  if (sw & SIMPL_LMEQ)
    31343134  {
    3135     idDelLmEquals(id);
     3135    id_DelLmEquals(id,currRing);
    31363136  }
    31373137  if (sw & SIMPL_MULT)
    31383138  {
    3139     idDelMultiples(id);
     3139    id_DelMultiples(id,currRing);
    31403140  }
    31413141  else if(sw & SIMPL_EQU)
    31423142  {
    3143     idDelEquals(id);
     3143    id_DelEquals(id,currRing);
    31443144  }
    31453145  if (sw & SIMPL_NULL)
     
    31493149  if (sw & SIMPL_NORM)
    31503150  {
    3151     idNorm(id);
     3151    id_Norm(id,currRing);
    31523152  }
    31533153  res->data = (char * )id;
  • kernel/ideals.cc

    r43568c r6a4ba5f  
    710710    rDelete(syz_ring);
    711711    #ifdef HAVE_PLURAL
    712     if (rIsPluralRing(currRing))
    713     {
    714       idDelMultiples(s_h3);
     712    if (rIsPluralRing(orig_ring))
     713    {
     714      id_DelMultiples(s_h3,orig_ring);
    715715      idSkipZeroes(s_h3);
    716716    }
  • kernel/ideals.h

    r43568c r6a4ba5f  
    4848}
    4949
    50 //void id_Norm(ideal id, const ring r);
    51 #define idNorm(I) id_Norm(I,currRing)
    52 
    53 //void id_DelMultiples(ideal id, const ring r);
    54 #define idDelMultiples(I) id_DelMultiples(I,currRing)
    55 
    56 //void id_DelEquals(ideal id, const ring r);
    57 #define idDelEquals(I) id_DelEquals(I,currRing)
    58 
    59 //void id_DelLmEquals(ideal id, const ring r);
    60 #define idDelLmEquals(I) id_DelLmEquals(I,currRing)
    61 
    62 //void id_DelDiv(ideal id, const ring r);
    63 #define idDelDiv(I) id_DelDiv(I,currRing)
    6450
    6551//BOOLEAN id_IsConstant(ideal id, const ring r);
     
    7662#endif
    7763
    78 ideal id_Copy (ideal h1, const ring r = currRing);
     64ideal id_Copy (ideal h1, const ring r);
    7965
    8066#if 0
Note: See TracChangeset for help on using the changeset viewer.