bugGNU Octave - Bugs: bug #43644, wishrnd invalidates correct input

 
 

bug #43644: wishrnd invalidates correct input

Submitter:  Daniel Beale <dabeale>
Submitted:  Thu 20 Nov 2014 12:22:36 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Daniel Beale Open/Closed:  * Closed
Release:  * 3.8.1 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 20 Nov 2014 02:01:40 PM UTC, comment #2: 

It's often helpful to have a link to the commit fixing this bug:

http://sourceforge.net/p/octave/statistics/ci/4fd7a440f8478add014c82e13d6cb1d0fde0fda7

Marking as fixed.

Mike Miller <mtmiller>
Group Member
Thu 20 Nov 2014 01:11:47 PM UTC, comment #1: 

Thanks for noticing this. I now fixed it in the repository.

Nir Krakauer <nir_krakauer>
Thu 20 Nov 2014 12:22:36 PM UTC, original submission:  

The wishrnd function takes two arguments (optionally four) - the correlation matrix Sigma and the degrees of freedom. The function creates an error if less than three inputs are given.

To generate the error:

A = rand(3,3);
Sigma = A*A';
n=1;
wishrnd(Sigma, n)


The above should generate a single wishart sample.

Daniel Beale <dabeale>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by nir_krakauer (Posted a comment)
  • -email is unavailable- added by dabeale (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
    2014-11-20 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed
        Operating SystemMac OS Any

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code