Changeset cbc84b in git for Singular/clapsing.cc


Ignore:
Timestamp:
Mar 15, 1999, 2:58:30 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'ec94ef7a30b928574c0c3daf41f6804dff5f6b69')
Children:
cbf36f5fd5b1bb3224d54ba7728bcc9b8550e1a8
Parents:
2e467b8c085c6337853964f2f6f4231010debdc8
Message:
*hannes: fixed coef bug in gcd


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

Legend:

Unmodified
Added
Removed
  • Singular/clapsing.cc

    r2e467b rcbc84b  
    33*  Computer Algebra System SINGULAR     *
    44****************************************/
    5 // $Id: clapsing.cc,v 1.46 1999-03-08 14:10:22 Singular Exp $
     5// $Id: clapsing.cc,v 1.47 1999-03-15 13:58:30 Singular Exp $
    66/*
    77* ABSTRACT: interface between Singular and factory
     
    202202  if (f!=NULL) pCleardenom(f);
    203203  if (g!=NULL) pCleardenom(g);
    204 
     204  else         return pCopy(f); // g==0 => gcd=f (but do a pCleardenom)
     205  if (f==NULL) return pCopy(g); // f==0 => gcd=g (but do a pCleardenom)
     206 
    205207  // for now there is only the possibility to handle polynomials over
    206208  // Q and Fp ...
     
    257259  pDelete(&f);
    258260  pDelete(&g);
     261  pTest(res);
    259262  return res;
    260263}
Note: See TracChangeset for help on using the changeset viewer.