bugGNU Octave - Bugs: bug #51092, mldivide returns wrong matrix size...

 
 

bug #51092: mldivide returns wrong matrix size if X contains NaN

Submitted by:  Alois Schlögl <schloegl>
Submitted on:  Tue 23 May 2017 07:55:51 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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.

Avinoam Kalma <avinoam>
Project Member
Sun 28 May 2017 07:12:16 PM UTC, comment #2:

I have reopened bug #39000 which seems to be related.

Avinoam Kalma <avinoam>
Project Member
Sat 27 May 2017 05:45:49 PM UTC, comment #1:

Confirmed. This probably needs a full review because there are many places in the code where we call Fortran routines on matrices which are singular. There should be a generic approach to handling this condition.

Rik <rik5>
Project Administrator
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:

Alois Schlögl <schloegl>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by avinoam (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by schloegl (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 29 Nov 2017 05:21:26 AM UTCavinoamStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sat 27 May 2017 05:45:49 PM UTCrik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1