Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#702 closed defect (fixed)

ROC::p_value crashes

Reported by: Peter Owned by: Peter
Priority: minor Milestone: yat 0.9
Component: statistics Version: trunk
Keywords: Cc:


The new p-value calculation in ROC crashes on my mac. I've localised the problem to to function count(6) which loops over a multimap using iterators. Although we are not invalidating the iterators locally they are invalidated from the call to count(7) via call(6). Simplest solution seems to avoid erase/insert of the container and use a boolean flag in the element instead.

This code is not present in 0.8.x.

Change History (3)

comment:1 Changed 10 years ago by Peter

Status: newassigned

comment:2 Changed 10 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [2736]) fixes #702

comment:3 Changed 10 years ago by Peter

Milestone: yat 0.x+yat 0.9
Note: See TracTickets for help on using tickets.