Changeset af4c56 in git for factory/fac_univar.cc


Ignore:
Timestamp:
Jun 26, 1996, 3:17:03 PM (27 years ago)
Author:
Rüdiger Stobbe <stobbe@…>
Branches:
(u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
Children:
fcae675a16caf8d4d11c889aacd1d01e01da7806
Parents:
36652d871bca0b0ba5d9cff54bdbe35c3b39fdf0
Message:
"ZFactorizeUnivariate: now handles the sign of the argument right.
"


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

Legend:

Unmodified
Added
Removed
  • factory/fac_univar.cc

    r36652d8 raf4c56  
    11// emacs edit mode for this file is -*- C++ -*-
    2 // $Id: fac_univar.cc,v 1.2 1996-06-13 10:43:49 stobbe Exp $
     2// $Id: fac_univar.cc,v 1.3 1996-06-26 13:17:03 stobbe Exp $
    33
    44/*
    55$Log: not supported by cvs2svn $
     6Revision 1.2  1996/06/13 10:43:49  stobbe
     7"ZFactorizeUnivariate: fix to last bug fix (no assignment)
     8"
     9
    610Revision 1.1  1996/06/13 10:34:04  stobbe
    711"ZFactorizeUnivariate: do not use Berlekamp-Algorithm since there is a
     
    545549    if ( ZF.getFirst().factor().inCoeffDomain() )
    546550        ZF.removeFirst();
    547     if ( ! cont.isOne() )
    548 
    549         if ( lc( ff ).sign() < 0 )
    550             ZF.insert( CFFactor( -cont, 1 ) );
    551         else
    552             ZF.insert( CFFactor( cont, 1 ) );
     551    if ( lc( ff ).sign() < 0 )
     552        ZF.insert( CFFactor( -cont, 1 ) );
     553    else  if ( ! cont.isOne() )
     554        ZF.insert( CFFactor( cont, 1 ) );
    553555    if ( D != 0 ) {
    554556        delete [] D;
Note: See TracChangeset for help on using the changeset viewer.