MantisBT - JANA | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000412 | JANA | Feature Request | public | 2014-07-18 08:19 | 2014-07-18 08:30 |
Reporter | davidl | ||||
Assigned To | davidl | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Summary | 0000412: Set pointer to NULL in JEventLoop::GetSingle if 0 values. | ||||
Description | From an e-mail from Paul Mattione on June 7, 2014 =========================================== In JEventLoop::GetSingle(), could you set the pointer to NULL if the vector is empty, and only throw an exception if the size is >= 2? (Current is to throw if size != 1). I've been using GetSingle() for DMCThrownMatching, and checking for NULL after the function call, but it throws on (CLAS) experimental data. Thanks. - Paul =========================================== | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-07-18 08:19 | davidl | New Issue | |||
2014-07-18 08:30 | davidl | Note Added: 0000592 | |||
2014-07-18 08:30 | davidl | Status | new => resolved | ||
2014-07-18 08:30 | davidl | Resolution | open => fixed | ||
2014-07-18 08:30 | davidl | Assigned To | => davidl |
Notes | |||||
|
|||||
|
|