Skip to content

grade_nDims sum is only checked at construction #48

@appetrosyan

Description

@appetrosyan

The grade_dims add up to nDims condition is only checked in the settings at construction. This may lead to incongruent settings, provided the grade_dims is altered after construction.

This error condition is checked twice: once in settings and once in _pypolychord.cpp.

It may be prudent to either expand the error checking to be done early, at construction of the settings object, or to move it entirely into the run_polychord method (see #47 ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions