diff --git a/.gitignore b/.gitignore index 3393b04..0e4f118 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /alglib-3.8.2.cpp.tgz /alglib-3.9.0.cpp.gpl.tgz /alglib-3.10.0.cpp.gpl.tgz +/alglib-3.11.0.cpp.gpl.tgz diff --git a/alglib.spec b/alglib.spec index d2686a6..5dc853d 100644 --- a/alglib.spec +++ b/alglib.spec @@ -1,6 +1,6 @@ Name: alglib -Version: 3.10.0 -Release: 5%{?dist} +Version: 3.11.0 +Release: 1%{?dist} Summary: A numerical analysis and data processing library License: GPLv2+ @@ -106,6 +106,9 @@ popd %changelog +* Fri May 12 2017 Sandro Mani - 3.11.0-1 +- Update to 3.11.0 + * Tue Mar 14 2017 Sandro Mani - 3.10.0-5 - Make test output more vebose - Temporarily ignore test failures on i686 due to http://bugs.alglib.net/view.php?id=689 diff --git a/alglib_verbose-tests.patch b/alglib_verbose-tests.patch index 18d90e4..563efea 100644 --- a/alglib_verbose-tests.patch +++ b/alglib_verbose-tests.patch @@ -1,7 +1,7 @@ diff -rupN cpp/tests/test_c.cpp cpp-new/tests/test_c.cpp ---- cpp/tests/test_c.cpp 2015-08-19 14:24:23.000000000 +0200 -+++ cpp-new/tests/test_c.cpp 2017-03-14 10:55:56.576495761 +0100 -@@ -1589,8 +1589,8 @@ ae_bool testhqrnd(ae_bool silent, ae_sta +--- cpp/tests/test_c.cpp 2017-05-11 20:31:18.000000000 +0200 ++++ cpp-new/tests/test_c.cpp 2017-05-12 12:43:37.818224960 +0200 +@@ -3555,8 +3555,8 @@ ae_bool testhqrnd(ae_bool silent, ae_sta /* *Discrete/Continuous tests */ @@ -12,20 +12,7 @@ diff -rupN cpp/tests/test_c.cpp cpp-new/tests/test_c.cpp /* * Final report -@@ -17161,9 +17161,9 @@ ae_bool testfilters(ae_bool silent, ae_s - ae_bool result; - - -- smaerrors = testsma(ae_true, _state); -- emaerrors = testema(ae_true, _state); -- lrmaerrors = testlrma(ae_true, _state); -+ smaerrors = testsma(ae_false, _state); -+ emaerrors = testema(ae_false, _state); -+ lrmaerrors = testlrma(ae_false, _state); - - /* - * Final report -@@ -21983,8 +21983,8 @@ ae_bool testsparse(ae_bool silent, ae_st +@@ -4226,8 +4226,8 @@ ae_bool testsparse(ae_bool silent, ae_st linearserrors = linearfunctionsstest(_state); linearmmerrors = linearfunctionsmmtest(_state); linearsmmerrors = linearfunctionssmmtest(_state); @@ -36,7 +23,7 @@ diff -rupN cpp/tests/test_c.cpp cpp-new/tests/test_c.cpp enumerateerrors = testsparseunit_enumeratetest(_state); rewriteexistingerr = testsparseunit_rewriteexistingtest(_state); testsparseunit_testgetrow(&getrowerrors, _state); -@@ -72686,14 +72686,14 @@ ae_bool testlinlsqr(ae_bool silent, ae_s +@@ -30805,14 +30805,14 @@ ae_bool testlinlsqr(ae_bool silent, ae_s ae_bool result; @@ -59,25 +46,20 @@ diff -rupN cpp/tests/test_c.cpp cpp-new/tests/test_c.cpp prectesterrors = testlinlsqrunit_preconditionertest(_state); /* -@@ -74791,7 +74791,7 @@ ae_bool testrbf(ae_bool silent, ae_state - basicrbferrors = testrbfunit_basicrbftest(_state); - irregularrbferrors = testrbfunit_irregularrbftest(_state); - linearitymodelrbferr = testrbfunit_linearitymodelrbftest(_state); -- sqrdegmatrixrbferr = sqrdegmatrixrbftest(ae_true, _state); -+ sqrdegmatrixrbferr = sqrdegmatrixrbftest(ae_false, _state); - multilayerrbf1derrors = ae_false; - multilayerrbferrors = testrbfunit_basicmultilayerrbftest(_state); - sererrors = testrbfunit_serializationtest(_state); -@@ -77947,7 +77947,7 @@ ae_bool testspline2d(ae_bool silent, ae_ - /* - * Test for vector-function - */ -- vferrors = testspline2dunit_testspline2dvf(ae_true, _state); -+ vferrors = testspline2dunit_testspline2dvf(ae_false, _state); +@@ -68155,9 +68155,9 @@ ae_bool testfilters(ae_bool silent, ae_s + ae_bool result; + + +- smaerrors = testsma(ae_true, _state); +- emaerrors = testema(ae_true, _state); +- lrmaerrors = testlrma(ae_true, _state); ++ smaerrors = testsma(ae_false, _state); ++ emaerrors = testema(ae_false, _state); ++ lrmaerrors = testlrma(ae_false, _state); /* - * Report -@@ -78993,7 +78993,7 @@ static ae_bool testspline3dunit_basictes + * Final report +@@ -84229,7 +84229,7 @@ static ae_bool testspline3dunit_basictes * Prepare a model and check that functions (Spline3DBuildTrilinear, * Spline3DCalc,Spline3DCalcV) work correctly and */ @@ -86,7 +68,7 @@ diff -rupN cpp/tests/test_c.cpp cpp-new/tests/test_c.cpp rvectorsetlengthatleast(&sf, n*m*l, _state); /* -@@ -79097,7 +79097,7 @@ static ae_bool testspline3dunit_testunpa +@@ -84333,7 +84333,7 @@ static ae_bool testspline3dunit_testunpa * NOTE: for this test we need ordered grid, i.e. grid * with nodes in ascending order */ @@ -95,7 +77,7 @@ diff -rupN cpp/tests/test_c.cpp cpp-new/tests/test_c.cpp sz = n*m*l; rvectorsetlengthatleast(&sf, sz, _state); spline3dbuildtrilinearv(&x, n, &y, m, &z, l, &vf, d, &c, _state); -@@ -79248,7 +79248,7 @@ static ae_bool testspline3dunit_testlint +@@ -84484,7 +84484,7 @@ static ae_bool testspline3dunit_testlint passcount = 15; for(pass=1; pass<=passcount; pass++) { @@ -104,7 +86,27 @@ diff -rupN cpp/tests/test_c.cpp cpp-new/tests/test_c.cpp spline3dbuildtrilinearv(&x, n, &y, m, &z, l, &f, d, &c, _state); for(xjob=0; xjob<=1; xjob++) { -@@ -87002,14 +87002,14 @@ ae_bool testlincg(ae_bool silent, ae_sta +@@ -91642,8 +91642,8 @@ ae_bool testspline2d(ae_bool silent, ae_ + /* + * Test for vector-function + */ +- vferrors = testspline2dunit_testspline2dvf(ae_true, _state); +- ++ vferrors = testspline2dunit_testspline2dvf(ae_false, _state); ++ + /* + * Report + */ +@@ -92515,7 +92515,7 @@ ae_bool testrbf(ae_bool silent, ae_state + basicrbferrors = testrbfunit_basicrbftest(_state); + irregularrbferrors = testrbfunit_irregularrbftest(_state); + linearitymodelrbferr = testrbfunit_linearitymodelrbftest(_state); +- sqrdegmatrixrbferr = sqrdegmatrixrbftest(ae_true, _state); ++ sqrdegmatrixrbferr = sqrdegmatrixrbftest(ae_false, _state); + multilayerrbf1derrors = ae_false; + multilayerrbferrors = testrbfunit_basicmultilayerrbftest(_state); + sererrors = testrbfunit_serializationtest(_state); +@@ -101261,14 +101261,14 @@ ae_bool testlincg(ae_bool silent, ae_sta ae_bool result; @@ -127,7 +129,7 @@ diff -rupN cpp/tests/test_c.cpp cpp-new/tests/test_c.cpp /* * report -@@ -93427,9 +93427,9 @@ ae_bool call_unittest( +@@ -105960,9 +105960,9 @@ ae_bool call_unittest( ae_state_set_break_jump(&_alglib_env_state, &_break_jump); ae_frame_make(&_alglib_env_state, &_frame_block); if( use_smp ) @@ -139,7 +141,7 @@ diff -rupN cpp/tests/test_c.cpp cpp-new/tests/test_c.cpp ae_state_clear(&_alglib_env_state); if( !result ) *psticky = 1; -@@ -93444,9 +93444,9 @@ ae_bool call_unittest( +@@ -105977,9 +105977,9 @@ ae_bool call_unittest( ae_state_init(&_alglib_env_state); ae_frame_make(&_alglib_env_state, &_frame_block); if( use_smp ) diff --git a/sources b/sources index da12078..b5433ae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -062be76c8a13eb9eefc1b732f0c17fe1 alglib-3.10.0.cpp.gpl.tgz +SHA512 (alglib-3.11.0.cpp.gpl.tgz) = e3ffec422a4670cdfc425ea8fd0766ea4a05911c4b566e6e83a201f6231469b84c6a38a2b96bb5e8997be65f86619003d1e4106315643f931f79e9558777b39d