Skip to content

Test failure in fitdist with 1.7.3 #174

@svillemot

Description

@svillemot

On the Debian autobuilders, one gets the following test failure in inst/dist_wrap/fitdist.m:

***** test
 x1 = burrrnd (1, 2, 1, 100, 1);
 x2 = burrrnd (1, 0.5, 2, 100, 1);
 pd = fitdist ([x1; x2], "burr", "By", [ones(100,1); 2*ones(100,1)]);
 [phat, pci] = burrfit (x1);
 assert ([pd(1).alpha, pd(1).c, pd(1).k], phat);
 assert (paramci (pd(1)), pci);
 [phat, pci] = burrfit (x2);
 assert ([pd(2).alpha, pd(2).c, pd(2).k], phat);
 assert (paramci (pd(2)), pci);
warning: burrfit: maximum number of iterations are exceeded.
warning: called from
    burrfit at line 209 column 9
    fit at line 641 column 19
    fitdist at line 261 column 17
    __test__ at line 5 column 5
    test at line 682 column 11
    /tmp/tmp.yJFEjz59YR at line 910 column 31

!!!!! test failed
burrfit: Weibull distribution fits better in X.

Curiously, this only happens on the amd64 architecture (i.e. x86-64). Also, I cannot reproduce it on my local machine, where the test passes.

For the full log, see: https://buildd.debian.org/status/fetch.php?pkg=octave-statistics&arch=amd64&ver=1.7.3-1&stamp=1739964847&raw=0

Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions