Closed hakonhagland closed 3 years ago
@hakonhagland at first glance, it seems that no error handler is defined for those tests, and something bad enough happens that causes all following tests to fail
@leto Yes, but at line 11 the error handler is turned off.. So I wonder why the default error handler invoked?
I think the problem could be that we do not initialize the probability distribution function for the histogram, see test GSL_HISTOGRAM_PDF_SAMPLE
on line 271 :
sub GSL_HISTOGRAM_PDF_SAMPLE : Tests {
my $p = gsl_histogram_pdf_alloc(100);
ok_status(gsl_histogram_pdf_sample( $p, 0.5 ));
}
according to the documentation, there is a function gsl_histogram_pdf_init()
that can be used to initialize the probability distribution with the contents of a histogram.
After applying the fix in PR #222, I get some test failures (Windows 10, MSYS 2, perl version 5.32.0):