Changeset fa8e1c in git


Ignore:
Timestamp:
Jul 30, 2002, 5:16:19 PM (22 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'd1d239e9808fca76a9497a01fa91ad4e8db6fba5')
Children:
d30633d0f627edf89314db9dd9d3806c2cf1baa6
Parents:
184d6ddc5316c2d09e7582a4cfc49adf1add3e0a
Message:
*hannes: fix for alg. extension


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

Legend:

Unmodified
Added
Removed
  • libfac/charset/alg_factor.cc

    r184d6d rfa8e1c  
    33// emacs edit mode for this file is -*- C++ -*-
    44////////////////////////////////////////////////////////////
    5 static char * rcsid = "$Id: alg_factor.cc,v 1.8 2001-08-06 08:32:53 Singular Exp $";
     5static char * rcsid = "$Id: alg_factor.cc,v 1.9 2002-07-30 15:16:19 Singular Exp $";
    66////////////////////////////////////////////////////////////
    77// FACTORY - Includes
     
    194194      // for now we use this workaround with Factorize...
    195195      // ...but it should go away soon!!!!
    196       testlist= Factorize(R);
     196      Variable X;
     197      if (getAlgVar(R,X))
     198      {
     199        if (R.isUnivariate())
     200          testlist=factorize( R, X );
     201        else 
     202          testlist= Factorize(R, X, 0);
     203      }
     204      else
     205        testlist= Factorize(R);
    197206      DEBOUTLN(cout, "testlist= ", testlist);
    198207      testlist.removeFirst();
     
    640649      DEBDECLEVEL(cout,"newfactoras");
    641650      return Factorlist;
    642       ;
    643651    }
    644652  }
     
    649657      DEBDECLEVEL(cout,"newfactoras");
    650658      return Factorlist;
    651     ;
    652659  }
    653660
     
    676683/*
    677684$Log: not supported by cvs2svn $
     685Revision 1.8  2001/08/06 08:32:53  Singular
     686* hannes: code cleanup
     687
    678688Revision 1.7  2001/06/27 13:58:05  Singular
    679689*hannes/GP: debug newfactoras, char_series, ...
Note: See TracChangeset for help on using the changeset viewer.