Hello community, here is the log from the commit of package o2scl for openSUSE:Factory checked in at 2019-11-03 12:26:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/o2scl (Old) and /work/SRC/openSUSE:Factory/.o2scl.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "o2scl" Sun Nov 3 12:26:03 2019 rev:8 rq:744909 version:0.923 Changes: -------- --- /work/SRC/openSUSE:Factory/o2scl/o2scl.changes 2019-09-18 13:15:12.476642340 +0200 +++ /work/SRC/openSUSE:Factory/.o2scl.new.2990/o2scl.changes 2019-11-03 12:26:04.457652819 +0100 @@ -1,0 +2,10 @@ +Wed Oct 30 09:28:27 UTC 2019 - Atri Bhattacharya <[email protected]> + +- Add o2scl-fix-LU-tests.patch: Fix -- rather than disable -- + failing LU tests (gh#awsteiner/o2scl#9). +- Drop o2scl-disable-failing-tests.patch: No longer needed due to + fixes from new patch o2scl-fix-LU-tests.patch; also drop + libtool BuildRequires and do not run autoreconf before configure + which were all required because of this patch. + +------------------------------------------------------------------- Old: ---- o2scl-disable-failing-tests.patch New: ---- o2scl-fix-LU-tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ o2scl.spec ++++++ --- /var/tmp/diff_new_pack.qaHhZ8/_old 2019-11-03 12:26:05.709654380 +0100 +++ /var/tmp/diff_new_pack.qaHhZ8/_new 2019-11-03 12:26:05.721654395 +0100 @@ -25,8 +25,8 @@ Group: Productivity/Scientific/Math Url: https://isospin.roam.utk.edu/static/code/o2scl/ Source: https://github.com/awsteiner/o2scl/releases/download/v%{version}/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM o2scl-disable-failing-tests.patch gh#awsteiner/o2scl#9 [email protected] -- Disable LU test that fails on x86_64 -Patch0: o2scl-disable-failing-tests.patch +# PATCH-FIX-UPSTREAM o2scl-fix-LU-tests.patch gh#awsteiner/o2scl#9 [email protected] -- Fix LU test that fails on x86_64 +Patch0: o2scl-fix-LU-tests.patch BuildRequires: armadillo-devel BuildRequires: eigen3-devel BuildRequires: fdupes @@ -40,9 +40,6 @@ BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: pkgconfig(gsl) -# SECTION Needed for Patch0 -BuildRequires: libtool -# /SECTION Recommends: %{name}-doc = %{version} %description @@ -93,7 +90,6 @@ %patch0 -p1 %build -autoreconf -fvi %configure \ %if 0%{?suse_version} >= 1500 --enable-gsl2 \ ++++++ o2scl-fix-LU-tests.patch ++++++ >From 8ec947675d4c6e27c06e2fbf8fa541c7e0df4860 Mon Sep 17 00:00:00 2001 From: "Andrew W. Steiner" <[email protected]> Date: Tue, 15 Oct 2019 11:00:36 -0400 Subject: [PATCH] Improved conditioning of lu_ts matrix test. --- src/linalg/lu_ts.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) Index: o2scl-0.923/src/linalg/lu_ts.cpp =================================================================== --- o2scl-0.923.orig/src/linalg/lu_ts.cpp +++ o2scl-0.923/src/linalg/lu_ts.cpp @@ -69,9 +69,12 @@ int main(void) { for(size_t i=0;i<5;i++) { for(size_t j=0;j<5;j++) { - gsl_matrix_set(gm1,i,j,1.0+sin(((double)ki))+ + double diag=0.0; + if (i==j) diag+=3.0; + gsl_matrix_set(gm1,i,j,1.0+diag+sin(((double)ki))+ sin((double)(i))+tan(((double)(j)))); - om1(i,j)=1.0+sin(((double)ki))+sin((double)(i))+tan(((double)(j))); + om1(i,j)=1.0+diag+sin(((double)ki))+sin((double)(i))+ + tan(((double)(j))); } } @@ -165,7 +168,7 @@ int main(void) { LU_decomp(5,om1,op1,sig); LU_invert<ubmatrix,ubmatrix,ubmatrix_column>(5,om1,op1,om2); - t.test_rel_mat(5,5,om2,gsl_matrix_wrap(gm2),1.0e-12, + t.test_rel_mat(5,5,om2,gsl_matrix_wrap(gm2),1.0e-7, "LU invert 1 (paren)"); }
