From ac31e73366d57e2e09fc798d2300896a5f0fc7b2 Mon Sep 17 00:00:00 2001 From: mtsch Date: Tue, 4 Jun 2024 14:27:59 +1200 Subject: [PATCH] Fix aqua and formatting --- src/filtrations/custom.jl | 2 +- test/aqua.jl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/filtrations/custom.jl b/src/filtrations/custom.jl index 680d033..56d5331 100644 --- a/src/filtrations/custom.jl +++ b/src/filtrations/custom.jl @@ -122,7 +122,7 @@ end idx = index(vs) d_dict[idx] = min(birth, get(d_dict, idx, typemax(T))) end - _insert_simplex_facets!(dicts, vertices, birth, Val(N - 1)) + return _insert_simplex_facets!(dicts, vertices, birth, Val(N - 1)) end function _adjacency_matrix(dicts) diff --git a/test/aqua.jl b/test/aqua.jl index eb78cf9..d2bbbd8 100644 --- a/test/aqua.jl +++ b/test/aqua.jl @@ -1,5 +1,6 @@ using Aqua using Ripserer +using PersistenceDiagrams Aqua.test_all(Ripserer; ambiguities=false, piracies=false) -Aqua.test_piracies(Ripserer; treat_as_own=PersistenceDiagram) +Aqua.test_piracies(Ripserer; treat_as_own=[PersistenceDiagram,PersistenceInterval])