bugGNU Octave - Bugs: bug #55162, qfuncinv in communications pkg...

 
 

bug #55162: qfuncinv in communications pkg depends on statistics pkg

Submitter:  Tony Richardson <amrichardson>
Submitted:  Tue 04 Dec 2018 04:31:01 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Duplicate Assigned to:  None
Originator Name:  Tony Richardson Open/Closed:  * Closed
Release:  * 4.4.1 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 06 Dec 2018 07:36:46 PM UTC, comment #1: 

Thank you. This has been reported and discussed on bug #54156, closing this report as a duplicate.

Mike Miller <mtmiller>
Group Member
Tue 04 Dec 2018 04:31:01 PM UTC, original submission:  

Loading the communications package does not automatically load the statistics package, but qfuncinv in the comm pkg requires norminv from the statistics pkg.  Using qfuncinv after loading the comm pkg produces an error re an undefined function unless the statistics package is also loaded.

I would recommend replacing the line:


y = -norminv(x)


with


y = sqrt(2)*erfcinv(2*x)


in qfuncinv.m to remove the dependency.  (erfcinv is built-in)  norminv ultimately relies on erfcinv to produce a result anyway.

Tony Richardson <amrichardson>

 

(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 amrichardson (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
    2018-12-06 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #54156

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code