Changeset 56f7c5 in git


Ignore:
Timestamp:
Apr 23, 1997, 2:14:34 PM (27 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
f3d535f3bb59ff8df4ded77b469f98fa6dfc8cfa
Parents:
a2c0302ed0c04a2eb249ea935b1f9aac811c5717
Message:
* hannes: fixed error in factorize: constant factor was wrong in char 0


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

Legend:

Unmodified
Added
Removed
  • Singular/clapsing.cc

    ra2c0302 r56f7c5  
    33*  Computer Algebra System SINGULAR     *
    44****************************************/
    5 // $Id: clapsing.cc,v 1.3 1997-04-09 12:19:40 Singular Exp $
     5// $Id: clapsing.cc,v 1.4 1997-04-23 12:14:34 Singular Exp $
    66/*
    77* ABSTRACT: interface between Singular and factory
     
    282282  On(SW_SYMMETRIC_FF);
    283283  CFFList L;
     284  number N=NULL;
     285
    284286  if ( (nGetChar() == 0) || (nGetChar() > 1) )
    285287  {
     
    287289    if (nGetChar()==0) /* Q */
    288290    {
    289       pContent(f);
     291      if ((with_exps!=0)&&(f!=NULL))
     292      {
     293        N=nCopy(pGetCoeff(f));
     294        pContent(f);
     295        number nn=nDiv(N,pGetCoeff(f));
     296        nDelete(&N);
     297        N=nn;
     298      } 
    290299    }
    291300    CanonicalForm F( convSingPClapP( f ) );
     
    374383      }
    375384    }
     385    if (N!=NULL)
     386    {
     387      pMultN(res->m[0],N);
     388      nDelete(&N);
     389    } 
    376390    // delete constants
    377391    if ((with_exps!=0) && (res!=NULL))
Note: See TracChangeset for help on using the changeset viewer.