bugGNU Octave - Bugs: bug #51458, Error in line 78 in qqplot.m

 
 

bug #51458: Error in line 78 in qqplot.m

Submitter:  None
Submitted:  Thu 13 Jul 2017 11:50:42 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Bjørn Lillekjendlie Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.3
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 13 Jul 2017 10:58:39 PM UTC, comment #1: 

Oops, good catch on the typo.  I fixed that on the stable branch which will become version 4.2.2.  See http://hg.savannah.gnu.org/hgweb/octave/rev/efba56b2406f.  Marking as fixed and closing report.

Rik <rik5>
Group administrator
Thu 13 Jul 2017 11:50:42 AM UTC, original submission:  

Line 74:75 (at least in my installation) in qqplot.m states:


74:  elseif (ischar (dist) && (exist (invname = [dist "inv"])
75:                               || exist (invname = [dist "%s_inv"])))


which should, as I understand it, be


74:  elseif (ischar (dist) && (exist (invname = [dist "inv"])
75:                              || exist (invname = [dist "_inv"])))


With the code today, qqplot fails on distributions where the inverse is named "dist_inv" - it works when the inverse function is named "distinv".

Thus, qqplot (x, "unif") works, whereas qqplot(x, "laplace") fails.

Anonymous

 

(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 rik5 (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-13 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
        Operating SystemMac OS Any

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code