Wed 29 Nov 2017 05:21:26 AM UTC, comment #3:
There are 2 issues in this bug report, both were fixed:
1. The wrong size - see bug #52402
2. The crash - see bug #39000
These bugs have been corrected on the development branch of Octave. Marking as fixed and closing report.
To access these fixes you will need to build from development sources, or wait until the next major release 4.4.0.
|
Tue 23 May 2017 07:55:51 AM UTC, original submission:
This is example is ok,
but when D contains some NaN, the size of the results matrix is wrong.
Although the content might not be meaningful, I would expect that the matrix size would be the same. I checked also with matlab, and this behaviour is incompatible with it (matlab returns the correct size).
In octave, it also seems to make a difference whether the NaN is in the first column, or only some other column:
|