bugGNU Octave - Bugs: bug #66585, nonconformant arguments for sparse...

 
 

bug #66585: nonconformant arguments for sparse product / divide

Submitter:  Andy Adler <andy_adler>
Submitted:  Thu 19 Dec 2024 05:36:21 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Duplicate Assigned to:  None
Originator Name:  Andy Adler Open/Closed:  * Closed
Release:  * 9.2.0 Release: 
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 05 Jan 2025 07:22:35 PM UTC, comment #3: 

Closing as duplicate of bug #41441.

Markus Mützel <mmuetzel>
Group administrator
Thu 19 Dec 2024 07:55:46 PM UTC, comment #2: 
Anonymous
Thu 19 Dec 2024 06:10:08 PM UTC, comment #1: 

rdivide does not work on dev for me:

octave:3> zzz=rdivide(sx, rx)
error: quotient: nonconformant arguments (op1 is 10x5, op2 is 1x5)


Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Thu 19 Dec 2024 05:36:21 PM UTC, original submission:  

The operators + - ./ .* do not promote the size of sparse operands. In the following code, rdivide works, but not sx ./ rx
(tested with 9.2 and 8.4)

fx = ones(10,5); rx = sum(fx,1); sx = sparse(fx);
rdivide(fx,rx); %works
rdivide(sx,rx); %works
fx./rx;% works with full
sx./rx;% fails with sparse:  quotient: nonconformant arguments (op1

Andy Adler <andy_adler>

 

(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 dasergatskov (Posted a comment)
  • -email is unavailable- added by andy_adler (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
    2025-01-05 mmuetzel StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #41441

    Back to the top

    Powered by Savane 3.15-26b0.
    Corresponding source code