8000 Potential FPE suppression/hiding in `GsfUtils.hpp` · Issue #4031 · acts-project/acts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Potential FPE suppression/hiding in GsfUtils.hpp #4031
Open
@andiwand

Description

@andiwand

// If something is not finite here, just leave the weight as it is
if (std::isfinite(factor)) {
weights.at(tip) *= factor;
}

This looks like silent FPE treatment which might either come from the chi2 being too large pushing detR to inf or caused by detR being negative in case the covariance is already broken. Both should in principle not happen but we protect against it and silence any occurrence right now.

In #3449 I observed an FPE at

const auto factor = std::sqrt(1. / detR) * safeExp(-0.5 * chi2);
which indicates that detR is negative and this should only happen if at least one of the covariances is broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0