Bug #17097
Floating point divide by zero in EMShowerAlg.cxx
Start date:
06/30/2017
Due date:
% Done:
100%
Estimated time:
Occurs In:
Experiment:
-
Co-Assignees:
Description
At line 507 in EMShowerAlg.cxx,
avDistanceToVertex /= distanceToVertex.size();
this divide was 0/0 in an example I caught in the debugger. It should be protected
against this sort of divide. There's a similar one at line 511 for avDistanceToEnd
Related issues
History
#1 Updated by Gianluca Petrillo over 3 years ago
- Related to Necessary Maintenance #17047: Floating Point Exceptions added
#2 Updated by Gianluca Petrillo over 3 years ago
- Related to deleted (Necessary Maintenance #17047: Floating Point Exceptions)
#3 Updated by Gianluca Petrillo over 3 years ago
- Blocks Necessary Maintenance #17047: Floating Point Exceptions added
#4 Updated by Lynn Garren over 3 years ago
- Category set to Reconstruction
- Status changed from New to Assigned
- Assignee set to Michael Wallbank
Mike, would you please have a look?
#5 Updated by Michael Wallbank over 3 years ago
- % Done changed from 0 to 100
Apologies, I'm currently at the EPS-HEP 2017 conference so couldn't address this straight away. I've pushed a fix to protect against dividing by zero in this case.