Changeset 68349d in git for kernel/polys.cc


Ignore:
Timestamp:
Mar 25, 2004, 10:19:12 PM (19 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
c47b0a37e9aaabd8518efe50efd4ab6a540b00b6
Parents:
3d9ed9730c6639ccd48654bab09d3ef24067f307
Message:
*levandov: Plural Subst fix


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

Legend:

Unmodified
Added
Removed
  • kernel/polys.cc

    r3d9ed9 r68349d  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys.cc,v 1.1.1.1 2003-10-06 12:15:55 Singular Exp $ */
     4/* $Id: polys.cc,v 1.2 2004-03-25 21:16:15 levandov Exp $ */
    55
    66/*
     
    2020#include "ring.h"
    2121
     22#ifdef HAVE_PLURAL
     23#include "gring.h"
     24#endif
     25
    2226/* ----------- global variables, set by pSetGlobals --------------------- */
    2327/* computes length and maximal degree of a POLYnomial */
     
    835839    else return pSubst2(p, n, pGetCoeff(e));
    836840  }
     841
     842#ifdef HAVE_PLURAL
     843  if (rIsPluralRing(currRing))
     844  {
     845    return nc_pSubst(p,n,e);
     846  }
     847#endif
    837848
    838849  int exponent,i;
Note: See TracChangeset for help on using the changeset viewer.