• Klaus Aehlig's avatar
    Relax test requirements · 2b296ad4
    Klaus Aehlig authored
    Instead of insisting on perfect equality of score
    allow for numerical inaccuracies and consider everything
    all differences in the cluster score smaller than 1e-12
    negligible. Given that, by default, a cluster with a
    score of less than 1e-9 is considered perfectly balanced,
    this relaxation is on the save side.
    Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
    Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
    2b296ad4
Cluster.hs 16.4 KB