Changeset 295c703 in git


Ignore:
Timestamp:
Aug 22, 2008, 1:56:55 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
cc477d39bee44261849b3352deac095522d243eb
Parents:
f498a7ee38c209567061c0786f773c11b02c3467
Message:
*hannes: factory::setCharacteristic only if needed


git-svn-id: file:///usr/local/Singular/svn/trunk@11030 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/longalg.cc

    rf498a7e r295c703  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: longalg.cc,v 1.37 2008-07-20 10:19:02 Singular Exp $ */
     4/* $Id: longalg.cc,v 1.38 2008-08-22 11:56:55 Singular Exp $ */
    55/*
    66* ABSTRACT:   algebraic numbers
     
    16921692#else
    16931693  {
     1694    int c=ABS(nGetChar());
     1695    if (c==1) c=0;
     1696    setCharacteristic( c );
     1697
    16941698    napoly rz=napGcd(x->z, y->z);
    16951699    CanonicalForm F, G, R;
  • kernel/ring.cc

    rf498a7e r295c703  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ring.cc,v 1.102 2008-07-26 18:15:46 Singular Exp $ */
     4/* $Id: ring.cc,v 1.103 2008-08-22 11:56:55 Singular Exp $ */
    55
    66/*
     
    112112    /*------------ global variables related to factory -------------------*/
    113113#ifdef HAVE_FACTORY
    114     int c=ABS(nGetChar());
    115     if (c==1) c=0;
    116     setCharacteristic( c );
     114    //int c=ABS(nGetChar());
     115    //if (c==1) c=0;
     116    //setCharacteristic( c );
    117117#endif
    118118  }
Note: See TracChangeset for help on using the changeset viewer.