Accepting request 504773 from home:adamm:branches:science
- Update to new upstream version 2.4: * add const to declaration of appropriate gsl_rstat routines * added routines for Hermite polynomials, gsl_sf_hermite_* * added routines to compute integrals with fixed-point quadrature, based on IQPACK * added new nonlinear least squares example for fitting a Gaussian to data * deprecated routines: gsl_sf_coupling_6j_INCORRECT gsl_sf_coupling_6j_INCORRECT_e * deprecated routine 'gsl_linalg_hessenberg' (replaced by gsl_linalg_hessenberg_decomp) * removed routines which were deprecated in v2.1: gsl_bspline_deriv_alloc gsl_bspline_deriv_free * changed COD expression to Q R Z^T instead of Q R Z to be consistent with standard texts * added check for nz == 0 in gsl_spmatrix_get * permit zero-dimension blocks, vectors, matrics, subvectors, submatrices, and views of the above * added routine gsl_linalg_COD_lssolve2 for regularized least squares problems - obsoletes patches: * ppc_test_tolerence.patch * fix_legendre_test.patch - unit tests re-enabled - Update to test version 2.3.90. OBS-URL: https://build.opensuse.org/request/show/504773 OBS-URL: https://build.opensuse.org/package/show/science/gsl?expand=0&rev=9
This commit is contained in:
parent
ad988774d8
commit
3f0270c855
@ -1,18 +0,0 @@
|
||||
Author: Adam Majer <amajer@suse.de>
|
||||
Date: Thu May 18 08:55:43 UTC 2017
|
||||
Bug: bnc#1030250
|
||||
Summary: Failing tests on i586 due to floating point "issues"
|
||||
|
||||
Index: gsl-2.3/specfunc/test_legendre.c
|
||||
===================================================================
|
||||
--- gsl-2.3.orig/specfunc/test_legendre.c
|
||||
+++ gsl-2.3/specfunc/test_legendre.c
|
||||
@@ -1067,7 +1067,7 @@ int test_legendre(void)
|
||||
test_legendre_all(l);
|
||||
|
||||
test_legendre_all(140);
|
||||
- test_legendre_all(1000);
|
||||
+ /*test_legendre_all(1000);*/
|
||||
/*test_legendre_all(2700);*/
|
||||
}
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:562500b789cd599b3a4f88547a7a3280538ab2ff4939504c8b4ac4ca25feadfb
|
||||
size 4510731
|
Binary file not shown.
3
gsl-2.4.tar.gz
Normal file
3
gsl-2.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4d46d07b946e7b31c19bbf33dda6204d7bedc2f5462a1bae1d4013426cd1ce9b
|
||||
size 5916715
|
BIN
gsl-2.4.tar.gz.sig
Normal file
BIN
gsl-2.4.tar.gz.sig
Normal file
Binary file not shown.
35
gsl.changes
35
gsl.changes
@ -1,3 +1,38 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 19 14:11:18 UTC 2017 - adam.majer@suse.de
|
||||
|
||||
- Update to new upstream version 2.4:
|
||||
* add const to declaration of appropriate gsl_rstat routines
|
||||
* added routines for Hermite polynomials, gsl_sf_hermite_*
|
||||
* added routines to compute integrals with fixed-point
|
||||
quadrature, based on IQPACK
|
||||
* added new nonlinear least squares example for fitting
|
||||
a Gaussian to data
|
||||
* deprecated routines:
|
||||
gsl_sf_coupling_6j_INCORRECT
|
||||
gsl_sf_coupling_6j_INCORRECT_e
|
||||
* deprecated routine 'gsl_linalg_hessenberg' (replaced
|
||||
by gsl_linalg_hessenberg_decomp)
|
||||
* removed routines which were deprecated in v2.1:
|
||||
gsl_bspline_deriv_alloc
|
||||
gsl_bspline_deriv_free
|
||||
* changed COD expression to Q R Z^T instead of Q R Z to
|
||||
be consistent with standard texts
|
||||
* added check for nz == 0 in gsl_spmatrix_get
|
||||
* permit zero-dimension blocks, vectors, matrics, subvectors,
|
||||
submatrices, and views of the above
|
||||
* added routine gsl_linalg_COD_lssolve2 for regularized
|
||||
least squares problems
|
||||
- obsoletes patches:
|
||||
* ppc_test_tolerence.patch
|
||||
* fix_legendre_test.patch
|
||||
- unit tests re-enabled
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 14 11:54:35 UTC 2017 - adam.majer@suse.de
|
||||
|
||||
- Update to test version 2.3.90.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 18 08:57:35 UTC 2017 - adam.majer@suse.de
|
||||
|
||||
|
14
gsl.spec
14
gsl.spec
@ -16,10 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define lname libgsl19
|
||||
%define lname libgsl23
|
||||
%define lcblasname libgslcblas0
|
||||
Name: gsl
|
||||
Version: 2.3
|
||||
Version: 2.4
|
||||
Release: 0
|
||||
Summary: GNU Scientific Library
|
||||
License: GPL-3.0+
|
||||
@ -33,8 +33,6 @@ Patch5: gsl-wrap.diff
|
||||
Patch6: gsl-qawc-test-x86-precision.diff
|
||||
Patch7: gsl-disable-fma.patch
|
||||
Patch8: gsl-fsf_address.patch
|
||||
Patch9: ppc_test_tolerence.patch
|
||||
Patch10: fix_legendre_test.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: blas-devel
|
||||
@ -75,9 +73,9 @@ Least-Squares Fitting - Physical Constants - IEEE Floating-Point
|
||||
|
||||
%package -n %{lcblasname}
|
||||
Summary: A standard C language APIs for BLAS from GNU Scientific Library
|
||||
# file conflict, see boo#991155
|
||||
License: GPL-3.0+
|
||||
Group: System/Libraries
|
||||
# file conflict, see boo#991155
|
||||
Obsoletes: libgsl0
|
||||
|
||||
%description -n %{lcblasname}
|
||||
@ -148,12 +146,6 @@ Least-Squares Fitting - Physical Constants - IEEE Floating-Point
|
||||
%patch6
|
||||
%patch7 -p1
|
||||
%patch8
|
||||
%ifarch ppc64 ppc64le
|
||||
%patch9 -p1
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
%patch10 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
|
@ -1,34 +0,0 @@
|
||||
Author: Adam Majer <amajer@suse.de>
|
||||
Date: Tue May 16 16:50:34 CEST 2017
|
||||
Summary: PPC has some failing tests
|
||||
|
||||
Double tolerance on one test
|
||||
Ignore another, as result is 0 instead of expected 1e-33
|
||||
|
||||
|
||||
Index: gsl-2.3/multifit/test_shaw.c
|
||||
===================================================================
|
||||
--- gsl-2.3.orig/multifit/test_shaw.c
|
||||
+++ gsl-2.3/multifit/test_shaw.c
|
||||
@@ -227,7 +227,7 @@ test_shaw_system_gcv(gsl_rng *rng_p, con
|
||||
{
|
||||
const size_t npoints = 200; /* number of points on L-curve */
|
||||
const double tol1 = 1.0e-12;
|
||||
- const double tol2 = 1.0e-10;
|
||||
+ const double tol2 = 2.0e-10;
|
||||
const double tol3 = 1.0e-5;
|
||||
gsl_vector * reg_param = gsl_vector_alloc(npoints);
|
||||
gsl_vector * G = gsl_vector_alloc(npoints);
|
||||
Index: gsl-2.3/rstat/test.c
|
||||
===================================================================
|
||||
--- gsl-2.3.orig/rstat/test.c
|
||||
+++ gsl-2.3/rstat/test.c
|
||||
@@ -142,7 +142,7 @@ main()
|
||||
for (i = 0; i < 4; ++i)
|
||||
data2[i] += 1.0e9;
|
||||
|
||||
- test_basic(4, data2, tol1);
|
||||
+// test_basic(4, data2, tol1);
|
||||
|
||||
free(data);
|
||||
}
|
Loading…
Reference in New Issue
Block a user