Changeset fb4f62e in git for libfac/factor


Ignore:
Timestamp:
May 28, 2003, 1:52:52 PM (21 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
1d0a65e915b1365133778207056d192650c400c7
Parents:
c4c47d46b439a8001801a504cdd936a60ebbf6de
Message:
*pfister/hannes: newfactoras, alg_gcd, divide (see bug_33)


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

Legend:

Unmodified
Added
Removed
  • libfac/factor/Factor.cc

    rc4c47d rfb4f62e  
    11/* Copyright 1996 Michael Messollen. All rights reserved. */
    22///////////////////////////////////////////////////////////////////////////////
    3 static char * rcsid = "$Id: Factor.cc,v 1.15 2003-02-14 15:51:15 Singular Exp $ ";
     3static char * rcsid = "$Id: Factor.cc,v 1.16 2003-05-28 11:52:52 Singular Exp $ ";
    44static char * errmsg = "\nYou found a bug!\nPlease inform (Michael Messollen) michael@math.uni-sb.de \nPlease include above information and your input (the ideal/polynomial and characteristic) in your bug-report.\nThank you.";
    55///////////////////////////////////////////////////////////////////////////////
     
    5858{
    5959  if (alpha.level() <0)
    60     return factorize(f,alpha);
     60  {
     61    if (f.isUnivariate())
     62      return factorize(f,alpha);
     63    else
     64    {
     65      return Factorize(f,mipo);
     66    }
     67  } 
    6168  else
    6269  {
     
    10701077/*
    10711078$Log: not supported by cvs2svn $
     1079Revision 1.15  2003/02/14 15:51:15  Singular
     1080* hannes: bugfix
     1081          could not factorize x2+xy+y2 in Fp(a)[x,y], a2+a+1=0
     1082          (factorize2 does nor sanity checks)
     1083
    10721084Revision 1.14  2002/08/19 11:11:32  Singular
    10731085* hannes/pfister: alg_gcd etc.
Note: See TracChangeset for help on using the changeset viewer.