Changeset 9310cb in git for libpolys/tests/coeffs_test.h


Ignore:
Timestamp:
Sep 28, 2011, 7:34:02 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
Children:
83db8d3000b4078b3fa1965f387d1f5099e5426e
Parents:
733d247ce0bb53a600a9565cc20a019df1de9856
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-28 19:34:02+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:43+01:00
Message:
FIX: tests should not need to call gmp numeric prescision!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/tests/coeffs_test.h

    r733d24 r9310cb  
    453453   {
    454454#ifdef HAVE_RINGS
    455      //  TODO(Somebody, This will result in memory corruption at Z_2^m later on (due to the succs. setGMPFloatDigits?)...!?); // ????
    456455     n_coeffType type = n_Zn;
    457456
     
    469468   }
    470469
    471    TODO(Somebody, floating arithmetics via GMP rely on two global variables (see setGMPFloatDigits). Please fix it!);
    472 
    473470   void test_LR()
    474471   {
    475      setGMPFloatDigits( 10, 5 ); // Init global variables in mpr_complex.cc for gmp_float's... // Note that this seems also to be required for Z_2^m (and Zn?)!????
    476472     simple(n_long_R);
    477473   }
     
    479475   void test_LC()
    480476   {
    481      setGMPFloatDigits( 10, 5 ); // Init global variables in mpr_complex.cc for gmp_float's... // Note that this seems also to be required for Z_2^m (and Zn?)!????
    482477     simple(n_long_C);
    483478   }
Note: See TracChangeset for help on using the changeset viewer.