Changeset a29995 in git for Singular/polys0.cc


Ignore:
Timestamp:
Nov 28, 2000, 12:50:56 PM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
718add5b6d1cfeccd8e65b50d42db0fd515f126a
Parents:
5e16f9ae5b8928fda665888d965340387f46c85c
Message:
* towards tailRings for local case


git-svn-id: file:///usr/local/Singular/svn/trunk@4777 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/polys0.cc

    r5e16f9a ra29995  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys0.cc,v 1.17 2000-10-26 16:31:38 obachman Exp $ */
     4/* $Id: polys0.cc,v 1.18 2000-11-28 11:50:56 obachman Exp $ */
    55
    66/*
     
    170170  }
    171171}
     172#if 1
    172173void p_wrp(poly p, ring lmRing, ring tailRing)
    173174{
     
    188189  }
    189190}
     191#else
     192// this is for use with buckets
     193void p_wrp(poly p, ring lmRing, ring tailRing)
     194{
     195  poly r;
     196
     197  if (p==NULL) PrintS("NULL");
     198  else if (pNext(p)==NULL) p_Write0(p, lmRing);
     199  else
     200  {
     201    r = pNext(p);
     202    pNext(p) = NULL;
     203    p_Write0(p, lmRing, tailRing);
     204    pNext(p) = r;
     205  }
     206}
     207#endif
Note: See TracChangeset for help on using the changeset viewer.