diff options
author | Ulrich Bauer <mail@ulrich-bauer.org> | 2017-08-24 12:36:23 +0200 |
---|---|---|
committer | Ulrich Bauer <mail@ulrich-bauer.org> | 2017-08-24 12:36:23 +0200 |
commit | 02e1d32f8c19a92b91dab3fc2520a6f4a98640f1 (patch) | |
tree | 26fabd66aaf0c20621946721a8598f3ad65232e7 | |
parent | fc6d3d4fbefe97022758ee64d78aa0c13a55caa2 (diff) |
threshold for sparse distance matrix
-rw-r--r-- | ripser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1079,7 +1079,7 @@ int main(int argc, char** argv) { std::cout << "value range: [" << min << "," << max << "]" << std::endl; - if (threshold == std::numeric_limits<value_t>::max()) + if (threshold == std::numeric_limits<value_t>::infinity()) ripser<compressed_lower_distance_matrix>(std::move(dist), dim_max, threshold, modulus) .compute_barcodes(); else |