bugGNU Octave - Bugs: bug #61651, rdivide doesn't work with sparse...

 
 

bug #61651: rdivide doesn't work with sparse matrix if they are compatible

Submitter:  Diego Masotti <wiserorb>
Submitted:  Thu 09 Dec 2021 07:50:33 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 6.4.0 Release: 
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 10 Dec 2021 08:53:51 AM UTC, comment #2: 

Closing as duplicate.

Markus Mützel <mmuetzel>
Group administrator
Fri 10 Dec 2021 03:49:34 AM UTC, comment #1: 

Duplicate of bug #59718.

Anonymous
Thu 09 Dec 2021 07:50:33 PM UTC, original submission:  

Put it simply, rdivide incorrectly throws:
 

error: quotient: nonconformant arguments (op1 is 1x3, op2 is 3x3)


when used with compatible matrix.
This error is not thrown if the matrices are converted into full matrices

Code:

x = sparse(rand(3,3));
y = sparse(rand(3,1));

#this works
full(x)./full(y)
#this does not work
x./y



I don't have access to a Matlab license so I cannot test the code, however it doesn't specify any exception for rdivide in its documentation:
https://it.mathworks.com/help/matlab/ref/rdivide.html

Thank for taking the time to address this issue.

Diego Masotti <wiserorb>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by wiserorb (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-10 mmuetzel StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #59718

    Back to the top

    Powered by Savane 3.15-e283.
    Corresponding source code