From 2ed9afc052bee7956f6abb195947de1f80cb9d91 Mon Sep 17 00:00:00 2001 From: Arnur Nigmetov Date: Fri, 7 May 2021 22:38:27 -0700 Subject: Fix bugs in matching distance for modules. 1. Twist reduction should not be used for modules, clearing makes no sense and creates erroneous points. Just use standard reduction. 2. Infinite points for modules (gens/relations case) are treated slightly differently. --- matching/include/persistence_module.h | 1 + 1 file changed, 1 insertion(+) (limited to 'matching/include/persistence_module.h') diff --git a/matching/include/persistence_module.h b/matching/include/persistence_module.h index b68c21e..4df2148 100644 --- a/matching/include/persistence_module.h +++ b/matching/include/persistence_module.h @@ -11,6 +11,7 @@ #include "phat/boundary_matrix.h" #include "phat/compute_persistence_pairs.h" +#include "phat/algorithms/standard_reduction.h" #include "common_util.h" #include "dual_point.h" -- cgit v1.2.3