Skip to content

Test failures of grp2idx with duration class and Octave 11 #408

@svillemot

Description

@svillemot

We are transitioning to Octave 11 in Debian and there are now 5 test failures in grp2idx, related to the duration class, the first one being:

***** test
 s = [duration(NaN, 0, 0), duration(NaN, 0, 0), duration(NaN, 0, 0)];
 [g, gn, gl] = grp2idx (s);
 assert (g, [NaN; NaN; NaN]);
 assert (gn, cell (0,1));
 assert (isequal (gl, duration (NaN (0,3))));
!!!!! test failed
ASSERT errors for:  assert (gn,cell (0, 1))

  Location  |  Observed  |  Expected  |  Reason
     .          O(1x1)       E(0x1)      Dimensions don't match

The full log is there: https://buildd.debian.org/status/fetch.php?pkg=octave-statistics&arch=amd64&ver=1.8.1-3%2Bb1&stamp=1772693511&raw=0

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