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 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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.mathwo ... /ref/rdivide.html

Thank for taking the time to address this issue.

Diego Masotti <wiserorb>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

Digest:
   bug dependencies.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

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

    History

    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.16-a7ba.
    Corresponding source code