bugGNU Octave - Bugs: bug #48731, [octave forge] (nan) incorrect...

 
 

bug #48731: [octave forge] (nan) incorrect result for tcdf(Inf, df)

Submitter:  Nir Krakauer <nir_krakauer>
Submitted:  Tue 09 Aug 2016 03:09:23 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 14 Aug 2017 01:03:37 PM UTC, comment #4: 

Thanks.  Closing report as fixed.

John W. Eaton <jwe>
Group administrator
Mon 14 Aug 2017 11:00:51 AM UTC, comment #3: 

The bug had been fixed in the repository on
   Tue Aug 09 23:52:37 2016 +0200
and was released on 3.0.3.

This can be closed now.

Alois Schlögl <schloegl>
Tue 09 Aug 2016 04:53:55 PM UTC, comment #2: 

Adding package mantainer to CC.

Carnë Draug <carandraug>
Group Member
Tue 09 Aug 2016 03:22:34 PM UTC, comment #1: 

It can be fixed by replacing, in line 55 of tcdf.m,


ix    = (x>0);


with


ix    = ix & (x>0);


Nir Krakauer <nir_krakauer>
Tue 09 Aug 2016 03:09:23 PM UTC, original submission:  


tcdf (Inf, 3)


should produce 1 (as the core Octave tcdf does), but gives 0 instead.

Nir Krakauer <nir_krakauer>

 

(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 schloegl (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by carandraug (Alois Schloegl - maintainer of NaN package)
  • -email is unavailable- added by nir_krakauer (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
    2017-08-14 jwe StatusNone Fixed
        Open/ClosedOpen Closed
    2017-08-13 jwe SummaryNaN package: incorrect result for tcdf(Inf, df) [octave forge] (nan) incorrect result for tcdf(Inf, df)
    2016-08-09 carandraug Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code