gnu-octave / statistics

The Statistics package for GNU Octave
GNU General Public License v3.0
24 stars 22 forks source link

Failing self-test for `mvtrnd` #71

Closed mmuetzel closed 1 year ago

mmuetzel commented 1 year ago

Running the self-test for mvtrnd fails with the following error:

>> pkg load statistics
>> test mvtrnd
***** test
 sigma = [1, 0.5; 0.5, 1];
 nu = 3;
 n = 10;
 x = mvtrnd (sigma, nu, n);
 assert (size (x), [10, 2]);
!!!!! test failed
mvtrnd: n must be a non-negative integer
>> ver statistics
----------------------------------------------------------------------
GNU Octave Version: 8.0.90 (hg id: 74aa32d5fd08)
GNU Octave License: GNU General Public License
Operating System: MINGW32_NT-6.2 Windows 6.2  x86_64
----------------------------------------------------------------------
Package Name  | Version | Installation directory
--------------+---------+-----------------------
  statistics *|   1.5.2 | C:\Program Files\GNU Octave\Octave-8.0.90\mingw64\share\octave\packages\statistics-1.5.2
>>
mmuetzel commented 1 year ago

This might be a bug in the release candidate for Octave 8.0.90. See also: https://octave.discourse.group/t/octave-8-release-tasks/3602/113

pr0m1th3as commented 1 year ago

I assume this is fixed after the patch mentioned in here

mmuetzel commented 1 year ago

I assume this is fixed after the patch mentioned in here

It looks like it is.