Opened 10 years ago

Closed 10 years ago

#669 closed defect (fixed)

ROC::p_value segmentation fault

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.7.3
Component: statistics Version: 0.7.2
Keywords: Cc:

Description

ROC crashes when it's empty

theplu::yat::statistics::ROC roc;
double p = roc.p_value();

Change History (2)

comment:1 Changed 10 years ago by Peter

Milestone: yat 0.x+yat 0.7.3
Status: newassigned

comment:2 Changed 10 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [2548]) avoid crash. return nan when area is nan. fixes #669

Note: See TracTickets for help on using tickets.