Changeset 20722e4 in git for libfac/factor/Factor.cc


Ignore:
Timestamp:
Apr 28, 2006, 3:46:29 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
a285490a201ea1e883f387408479c5758aaff48f
Parents:
f45bfb991cabced656e450cbed9e85720c469e54
Message:
*hannes: better tests for 0, 1


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

Legend:

Unmodified
Added
Removed
  • libfac/factor/Factor.cc

    rf45bfb r20722e4  
    11/* Copyright 1996 Michael Messollen. All rights reserved. */
    22///////////////////////////////////////////////////////////////////////////////
    3 static char * rcsid = "$Id: Factor.cc,v 1.21 2005-12-12 18:02:03 Singular Exp $ ";
     3static char * rcsid = "$Id: Factor.cc,v 1.22 2006-04-28 13:46:29 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///////////////////////////////////////////////////////////////////////////////
     
    652652    ffuni = mygcd(f,ff);
    653653    TIMING_END(discr_time);
    654     if ( ffuni != 1 ){ //discriminante nonzero: split poly
     654    if ( !(ffuni.isOne()) ){ //discriminante nonzero: split poly
    655655      DEBOUTLN(cout,"Nontrivial GCD of f= ", f);
    656656      DEBOUTLN(cout,"             and @f= ", ff);
     
    11241124/*
    11251125$Log: not supported by cvs2svn $
     1126Revision 1.21  2005/12/12 18:02:03  Singular
     1127*hannes: use sorting option in Factorize
     1128
    11261129Revision 1.20  2005/12/05 15:47:32  Singular
    11271130*hannes: is_homogeneous -> factory: isHomogeneous
Note: See TracChangeset for help on using the changeset viewer.