Closed dmjio closed 5 years ago
The following compiles and runs on Ubuntu 16.04 with g++ -g -Wall test.cc `gsl-config --cflags --libs` -o test
The functions from Numeric.GSL.Statistics
that take one argument do not crash. At least mean_w
and tot_sumsq_w
crash. These take two arguments. However, covariance
, which takes two arguments does not crash. Under the hood all two argument functions use the auxiliary getD2
but this seems not to be the problem as, as stated, covariance
does not crash.
The auxiliary wrappers to the GSL functions work (statistics-aux.c
).
Work in progress.
The auxiliary functions for the weighted statistics functions were taking arguments in the incorrect order. Fixed.
On both OSX and Linux, w/
hmatrix-gsl-stats-0.4.1.7
To reproduce: