bugGNU Octave - Bugs: bug #30171, sparse/spy.m refers to incorrect...

 
 

bug #30171: sparse/spy.m refers to incorrect variable

Submitter:  None
Submitted:  Thu 17 Jun 2010 07:31:30 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  dbateman
Originator Name:  Bradley M Froehle Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.2.4
Operating System:  * Mac OS Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 17 Jun 2010 09:03:00 PM UTC, comment #1: 

Effectively this is incorrect. I applied your patch in the changeset

http://hg.savannah.gnu.org/hgweb/octave/rev/600bdfb08540

and added your name to the contributors list

D.

David Bateman <dbateman>
Group Member
Thu 17 Jun 2010 07:31:30 PM UTC, original submission:  

scripts/sparse/spy.m refers to the incorrect variable name when determining the number of elements in the matrix.

The script should count the number of elements in the input variable, x, not the imaginary number i.

A patch is attached.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #20771:  scripts_sparse_spy_m.diff added by None (249B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dbateman (Posted a comment)
  • -email is unavailable- added by None (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-17 dbateman StatusNone Fixed
        Assigned toNone dbateman
        Open/ClosedOpen Closed
    2010-06-17 None Attached File- Added scripts_sparse_spy_m.diff, #20771

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code