summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivianMcPhail <>2019-06-11 02:08:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-06-11 02:08:00 (GMT)
commitc136cdd04388617eb052847e4d0bd88b941b5868 (patch)
tree3912b59510f99981ba3f1c92b7c6d8eeb631cdcc
parent14b445511b498784f38ca2dca6d4ea454bdd86f1 (diff)
version 0.4.1.8HEAD0.4.1.8master
-rwxr-xr-x[-rw-r--r--]CHANGES3
-rwxr-xr-x[-rw-r--r--]INSTALL0
-rwxr-xr-x[-rw-r--r--]LICENSE0
-rwxr-xr-x[-rw-r--r--]README0
-rwxr-xr-x[-rw-r--r--]Setup.lhs0
-rwxr-xr-x[-rw-r--r--]hmatrix-gsl-stats.cabal4
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/Distribution/Common.hs0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/Distribution/Continuous.hs0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/Distribution/Discrete.hs0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/Distribution/Internal.hs0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/Fitting/Linear.hs0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/Histogram.hs1
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/Histogram2D.hs0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/Permutation.hs0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/Sort.hs0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/Statistics.hs0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/distribution-aux.c0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/fitting-aux.c0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/histogram-aux.c0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/permutation-aux.c0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/sort-aux.c0
-rwxr-xr-x[-rw-r--r--]lib/Numeric/GSL/statistics-aux.c20
22 files changed, 15 insertions, 13 deletions
diff --git a/CHANGES b/CHANGES
index f2a9364..5ec3a0b 100644..100755
--- a/CHANGES
+++ b/CHANGES
@@ -116,3 +116,6 @@
0.4.1.7:
trommler made -msse2 conditional
+
+0.4.1.8:
+ fixed segfault in some statistics functions (argument order) \ No newline at end of file
diff --git a/INSTALL b/INSTALL
index dfd4777..dfd4777 100644..100755
--- a/INSTALL
+++ b/INSTALL
diff --git a/LICENSE b/LICENSE
index 7192195..7192195 100644..100755
--- a/LICENSE
+++ b/LICENSE
diff --git a/README b/README
index 663a50a..663a50a 100644..100755
--- a/README
+++ b/README
diff --git a/Setup.lhs b/Setup.lhs
index 4b19c19..4b19c19 100644..100755
--- a/Setup.lhs
+++ b/Setup.lhs
diff --git a/hmatrix-gsl-stats.cabal b/hmatrix-gsl-stats.cabal
index 3acb380..e541c6d 100644..100755
--- a/hmatrix-gsl-stats.cabal
+++ b/hmatrix-gsl-stats.cabal
@@ -1,8 +1,8 @@
Name: hmatrix-gsl-stats
-Version: 0.4.1.7
+Version: 0.4.1.8
License: BSD3
License-file: LICENSE
-Copyright: (c) A.V.H. McPhail 2010, 2011, 2013, 2015, 2016
+Copyright: (c) A.V.H. McPhail 2010, 2011, 2013, 2015, 2016, 2019
Author: Vivian McPhail
Maintainer: haskell.vivian.mcphail <at> gmail <dot> com
Stability: provisional
diff --git a/lib/Numeric/GSL/Distribution/Common.hs b/lib/Numeric/GSL/Distribution/Common.hs
index eb562c0..eb562c0 100644..100755
--- a/lib/Numeric/GSL/Distribution/Common.hs
+++ b/lib/Numeric/GSL/Distribution/Common.hs
diff --git a/lib/Numeric/GSL/Distribution/Continuous.hs b/lib/Numeric/GSL/Distribution/Continuous.hs
index 474e58b..474e58b 100644..100755
--- a/lib/Numeric/GSL/Distribution/Continuous.hs
+++ b/lib/Numeric/GSL/Distribution/Continuous.hs
diff --git a/lib/Numeric/GSL/Distribution/Discrete.hs b/lib/Numeric/GSL/Distribution/Discrete.hs
index 77fc562..77fc562 100644..100755
--- a/lib/Numeric/GSL/Distribution/Discrete.hs
+++ b/lib/Numeric/GSL/Distribution/Discrete.hs
diff --git a/lib/Numeric/GSL/Distribution/Internal.hs b/lib/Numeric/GSL/Distribution/Internal.hs
index c8598b8..c8598b8 100644..100755
--- a/lib/Numeric/GSL/Distribution/Internal.hs
+++ b/lib/Numeric/GSL/Distribution/Internal.hs
diff --git a/lib/Numeric/GSL/Fitting/Linear.hs b/lib/Numeric/GSL/Fitting/Linear.hs
index b3f3f7d..b3f3f7d 100644..100755
--- a/lib/Numeric/GSL/Fitting/Linear.hs
+++ b/lib/Numeric/GSL/Fitting/Linear.hs
diff --git a/lib/Numeric/GSL/Histogram.hs b/lib/Numeric/GSL/Histogram.hs
index 82948ea..a45c2e7 100644..100755
--- a/lib/Numeric/GSL/Histogram.hs
+++ b/lib/Numeric/GSL/Histogram.hs
@@ -77,7 +77,6 @@ import System.IO.Unsafe(unsafePerformIO)
-----------------------------------------------------------------------------
data Hist
-
infixr 1 #
a # b = apply a b
{-# INLINE (#) #-}
diff --git a/lib/Numeric/GSL/Histogram2D.hs b/lib/Numeric/GSL/Histogram2D.hs
index bf790c0..bf790c0 100644..100755
--- a/lib/Numeric/GSL/Histogram2D.hs
+++ b/lib/Numeric/GSL/Histogram2D.hs
diff --git a/lib/Numeric/GSL/Permutation.hs b/lib/Numeric/GSL/Permutation.hs
index b05062c..b05062c 100644..100755
--- a/lib/Numeric/GSL/Permutation.hs
+++ b/lib/Numeric/GSL/Permutation.hs
diff --git a/lib/Numeric/GSL/Sort.hs b/lib/Numeric/GSL/Sort.hs
index b96c46b..b96c46b 100644..100755
--- a/lib/Numeric/GSL/Sort.hs
+++ b/lib/Numeric/GSL/Sort.hs
diff --git a/lib/Numeric/GSL/Statistics.hs b/lib/Numeric/GSL/Statistics.hs
index 1595f2b..1595f2b 100644..100755
--- a/lib/Numeric/GSL/Statistics.hs
+++ b/lib/Numeric/GSL/Statistics.hs
diff --git a/lib/Numeric/GSL/distribution-aux.c b/lib/Numeric/GSL/distribution-aux.c
index 7220e00..7220e00 100644..100755
--- a/lib/Numeric/GSL/distribution-aux.c
+++ b/lib/Numeric/GSL/distribution-aux.c
diff --git a/lib/Numeric/GSL/fitting-aux.c b/lib/Numeric/GSL/fitting-aux.c
index 39d4713..39d4713 100644..100755
--- a/lib/Numeric/GSL/fitting-aux.c
+++ b/lib/Numeric/GSL/fitting-aux.c
diff --git a/lib/Numeric/GSL/histogram-aux.c b/lib/Numeric/GSL/histogram-aux.c
index cbc01ea..cbc01ea 100644..100755
--- a/lib/Numeric/GSL/histogram-aux.c
+++ b/lib/Numeric/GSL/histogram-aux.c
diff --git a/lib/Numeric/GSL/permutation-aux.c b/lib/Numeric/GSL/permutation-aux.c
index 7c95654..7c95654 100644..100755
--- a/lib/Numeric/GSL/permutation-aux.c
+++ b/lib/Numeric/GSL/permutation-aux.c
diff --git a/lib/Numeric/GSL/sort-aux.c b/lib/Numeric/GSL/sort-aux.c
index 8af6c52..8af6c52 100644..100755
--- a/lib/Numeric/GSL/sort-aux.c
+++ b/lib/Numeric/GSL/sort-aux.c
diff --git a/lib/Numeric/GSL/statistics-aux.c b/lib/Numeric/GSL/statistics-aux.c
index b050a10..00fdefc 100644..100755
--- a/lib/Numeric/GSL/statistics-aux.c
+++ b/lib/Numeric/GSL/statistics-aux.c
@@ -118,49 +118,49 @@ int correlation(double* r, int vs, const double* v, int ws, const double* w)
}
-int w_mean(int ws, const double* w, double* r, int vs, const double* v)
+int w_mean(double* r, int ws, const double* w, int vs, const double* v)
{
(*r) = gsl_stats_wmean(w,1,v,1,vs);
return 0;
}
-int w_variance(int ws, const double* w, double* r, int vs, const double* v)
+int w_variance(double* r, int ws, const double* w, int vs, const double* v)
{
(*r) = gsl_stats_wvariance(w,1,v,1,vs);
return 0;
}
-int w_variance_m(double m, int ws, const double* w, double* r, int vs, const double* v)
+int w_variance_m(double m, double* r, int ws, const double* w, int vs, const double* v)
{
(*r) = gsl_stats_wvariance_m(w,1,v,1,vs,m);
return 0;
}
-int w_stddev(int ws, const double* w, double* r, int vs, const double* v)
+int w_stddev(double* r, int ws, const double* w, int vs, const double* v)
{
(*r) = gsl_stats_wsd(w,1,v,1,vs);
return 0;
}
-int w_stddev_m(double m, int ws, const double* w, double* r, int vs, const double* v)
+int w_stddev_m(double m, double* r, int ws, const double* w, int vs, const double* v)
{
(*r) = gsl_stats_wsd_m(w,1,v,1,vs,m);
return 0;
}
-int w_tot_sumsq(int ws, const double* w, double* r, int vs, const double* v)
+int w_tot_sumsq(double* r, int ws, const double* w, int vs, const double* v)
{
(*r) = gsl_stats_wtss(w,1,v,1,vs);
return 0;
}
-int w_tot_sumsq_m(double m, int ws, const double* w, double* r, int vs, const double* v)
+int w_tot_sumsq_m(double m, double* r, int ws, const double* w, int vs, const double* v)
{
(*r) = gsl_stats_wtss_m(w,1,v,1,vs,m);
return 0;
}
-int w_var_with_fixed_m(double m, int ws, const double* w, double* r, int vs, const double* v)
+int w_var_with_fixed_m(double m, double* r, int ws, const double* w, int vs, const double* v)
{
(*r) = gsl_stats_wvariance_with_fixed_mean(w,1,v,1,vs,m);
return 0;
@@ -190,7 +190,7 @@ int w_skew(double m, int ws, const double* w, double* r, int vs, const double* v
return 0;
}
-int w_skew_m_sd(double m, double sd, int ws, const double* w, double* r, int vs, const double* v)
+int w_skew_m_sd(double m, double sd, double* r, int ws, const double* w, int vs, const double* v)
{
(*r) = gsl_stats_wskew_m_sd(w,1,v,1,vs,m,sd);
return 0;
@@ -202,7 +202,7 @@ int w_kurtosis(double m, int ws, const double* w, double* r, int vs, const doubl
return 0;
}
-int w_kurtosis_m_sd(double m, double sd, int ws, const double* w, double* r, int vs, const double* v)
+int w_kurtosis_m_sd(double m, double sd, double* r, int ws, const double* w, int vs, const double* v)
{
(*r) = gsl_stats_wkurtosis_m_sd(w,1,v,1,vs,m,sd);
return 0;