Changeset 9310cb in git


Ignore:
Timestamp:
Sep 28, 2011, 7:34:02 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
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!
Location:
libpolys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/test.cc

    r733d24 r9310cb  
    344344
    345345#ifdef HAVE_RINGS
    346 //  TODO(Somebody, This will result in memory corruption at Z_2^m later on (due to the succs. setGMPFloatDigits?)...!?); // ????
    347 
    348346  type = n_Zn;
    349347
     
    352350
    353351#endif
    354 
    355   TODO(Somebody, floating arithmetics via GMP rely on two global variables (see setGMPFloatDigits). Please fix it!);
    356   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?)!????
    357 
    358352
    359353  type = n_long_C;
  • 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.