Changeset 77f483 in git for factory/canonicalform.cc


Ignore:
Timestamp:
Jun 28, 2005, 4:39:52 PM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
fea91578e32b53237ec9712c2af66d889a3b6241
Parents:
3781a22b49bf6807b4bfa152e670e186f67e6e1a
Message:
*hannes: fixed rational coeffs in factorize


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

Legend:

Unmodified
Added
Removed
  • factory/canonicalform.cc

    r3781a2 r77f483  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: canonicalform.cc,v 1.33 2003-10-15 17:19:39 Singular Exp $ */
     2/* $Id: canonicalform.cc,v 1.34 2005-06-28 14:39:52 Singular Exp $ */
    33
    44#include <config.h>
     
    15451545    if ( f.isZero() || g.isZero() )
    15461546        return CanonicalForm( 0 );
     1547/*
     1548    else if (f.isOne())
     1549        return g;
     1550    else if (g.isOne())
     1551        return f;
     1552*/
    15471553    else
    15481554        return (f / bgcd( f, g )) * g;
Note: See TracChangeset for help on using the changeset viewer.