Changeset 661ca5e in git for factory/fac_ezgcd.cc


Ignore:
Timestamp:
Nov 18, 2005, 11:03:50 AM (18 years ago)
Author:
Wilfred Pohl <pohl@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c9af86890bece3aba24c40591ef527d2394370da
Parents:
bcce2ee89fa798c449ace6ea211f4185b6b04abd
Message:
nextpoint


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

Legend:

Unmodified
Added
Removed
  • factory/fac_ezgcd.cc

    rbcce2e r661ca5e  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: fac_ezgcd.cc,v 1.22 2005-08-26 17:43:34 Singular Exp $ */
     2/* $Id: fac_ezgcd.cc,v 1.23 2005-11-18 10:03:49 pohl Exp $ */
    33
    44#include <config.h>
     
    7575    {
    7676        DEBDECLEVEL( cerr, "ezgcd" );
    77         return d * gcd( F, G );
     77        if(F.mvar()==G.mvar())
     78          d*=gcd(F,G);
     79        return d;
    7880    }
    7981    else  if ( gcd_test_one( F, G, false ) )
     
    236238        //     '(16*B^8-208*B^6*C+927*B^4*C^2-1512*B^2*C^3+432*C^4)' \
    237239        //     '(4*B^7*C^2-50*B^5*C^3+208*B^3*C^4-288*B*C^5)'
    238         b.nextpoint_0();
     240        b.nextpoint();
    239241        return ezgcd( F, G, b, true );
    240242    }
     
    314316    bool ok;
    315317    if ( delta != 0 )
    316         b.nextpoint_0();
     318        b.nextpoint();
    317319    DEBOUTLN( cerr, "ezgcd: (findeval) F = " << F  <<", G="<< G);
    318320    DEBOUTLN( cerr, "ezgcd: (findeval) degF = " << degF << ", degG="<<degG );
     
    334336        if ( ! ok )
    335337        {
    336             b.nextpoint_0();
     338            b.nextpoint();
    337339        }
    338340    } while ( ! ok );
Note: See TracChangeset for help on using the changeset viewer.