Skip to content

add checks for score evaluations #466

@justin-ven

Description

@justin-ven

There is currently no error generated when a score evaluation returns NaN - this can lead to hidden errors. Best to add a trap, like:

       if (!Parameters.checkFinite(score))
            throw new ArithmeticException("Failure to evaluate score for XXX");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions