Skip to content

Inner loops #21

Open
Open
@joachimwolff

Description

@joachimwolff

Inner loops run infinite time if their minCoeff does not get smaller than delta or maxCoeff greater than Delta.

https://github.com/deeptools/Knight-Ruiz-Matrix-balancing-algorithm/blob/master/src/krbalancing.cpp#L134

We need some mechanism to stop after a max number of iterations and or to check problematic matrices at initialization time.

In case the inner loop terminates, we should still return a value and not quit with exit(1) the depending software too. I need this especially in the context of single-cell Hi-C, the failure of one matrix should not influence the computation of the others by terminating the whole software.

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