Changeset 41a8db in git


Ignore:
Timestamp:
Feb 3, 2005, 3:05:55 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
Children:
561f4c0d952008e8298e35960b15e5398b7493b6
Parents:
e21afbaa54be68a2741df57da6a4156aba4b81d7
Message:
*hannes: ezgcd workaround


git-svn-id: file:///usr/local/Singular/svn/trunk@7696 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
factory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_gcd.cc

    re21afb r41a8db  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_gcd.cc,v 1.27 2005-01-05 11:27:17 Singular Exp $ */
     2/* $Id: cf_gcd.cc,v 1.28 2005-02-03 14:05:55 Singular Exp $ */
    33
    44#include <config.h>
     
    298298}
    299299
    300 static CanonicalForm
     300CanonicalForm
    301301gcd_poly1( const CanonicalForm & f, const CanonicalForm & g, bool modularflag )
    302302{
  • factory/fac_ezgcd.cc

    re21afb r41a8db  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: fac_ezgcd.cc,v 1.16 2005-01-25 13:20:33 Singular Exp $ */
     2/* $Id: fac_ezgcd.cc,v 1.17 2005-02-03 14:05:55 Singular Exp $ */
    33
    44#include <config.h>
     
    208208        return ezgcd( F, G, b, true );
    209209    }
     210#if 1
     211    extern CanonicalForm
     212gcd_poly1( const CanonicalForm & f, const CanonicalForm & g, bool modularflag );
     213
     214    return gcd_poly1( F, G, getCharacteristic()==0 );
     215#else
    210216
    211217    DEBOUTLN( cerr, "ezgcdspec: (S1) done, Ft = " << Ft );
     
    262268    // this point is never reached, but to avoid compiler warnings let's return a value
    263269    return 0;
     270#endif
    264271}
    265272
Note: See TracChangeset for help on using the changeset viewer.