Changeset 5299b6 in git for libfac


Ignore:
Timestamp:
Dec 12, 2005, 7:02:03 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
bc8ac5378ecc3bce2bda68dc6aa81f635b7dba80
Parents:
0cb22adbeb2f7c5405fa6162d23efbe17244f2a4
Message:
*hannes: use sorting option in Factorize


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

Legend:

Unmodified
Added
Removed
  • libfac/factor/Factor.cc

    r0cb22ad r5299b6  
    11/* Copyright 1996 Michael Messollen. All rights reserved. */
    22///////////////////////////////////////////////////////////////////////////////
    3 static char * rcsid = "$Id: Factor.cc,v 1.20 2005-12-05 15:47:32 Singular Exp $ ";
     3static char * rcsid = "$Id: Factor.cc,v 1.21 2005-12-12 18:02:03 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///////////////////////////////////////////////////////////////////////////////
     
    792792}
    793793
     794// for debuggig:
     795int cmpCF( const CFFactor & f, const CFFactor & g );
     796
    794797///////////////////////////////////////////////////////////////
    795798// The user front-end for a uni/multivariate factorization   //
     
    934937  TIMING_PRINT(truefactor_time, "time used for truefactors   : ");
    935938  TIMING_PRINT(factorize_time, "\ntime used for factorization   : ");
     939
     940  if(isOn(SW_USE_NTL_SORT)) Outputlist2.sort(cmpCF);
     941
    936942  return Outputlist2;
    937943}
     
    11101116  TIMING_PRINT(truefactor_time, "time used for truefactors   : ");
    11111117  TIMING_PRINT(factorize_time, "\ntime used for factorization   : ");
     1118
     1119  if(isOn(SW_USE_NTL_SORT)) Outputlist2.sort(cmpCF);
     1120
    11121121  return Outputlist2;
    11131122}
     
    11151124/*
    11161125$Log: not supported by cvs2svn $
     1126Revision 1.20  2005/12/05 15:47:32  Singular
     1127*hannes: is_homogeneous -> factory: isHomogeneous
     1128
    11171129Revision 1.19  2005/10/17 13:18:44  Singular
    11181130*hannes: apply sqrFree before newfactoras (Factorize in Q(a))
Note: See TracChangeset for help on using the changeset viewer.