diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree/multi_filtrations/Finitely_critical_filtrations.h b/src/Simplex_tree/include/gudhi/Simplex_tree/multi_filtrations/Finitely_critical_filtrations.h index 19b0804c8f..9343c9a723 100644 --- a/src/Simplex_tree/include/gudhi/Simplex_tree/multi_filtrations/Finitely_critical_filtrations.h +++ b/src/Simplex_tree/include/gudhi/Simplex_tree/multi_filtrations/Finitely_critical_filtrations.h @@ -176,10 +176,14 @@ template class numeric_limits> { public: +static constexpr bool has_infinity = true; + static Gudhi::multiparameter::multi_filtrations::Finitely_critical_multi_filtration infinity() throw(){ return Gudhi::multiparameter::multi_filtrations::Finitely_critical_multi_filtration(1, std::numeric_limits::infinity()); }; - +static Gudhi::multiparameter::multi_filtrations::Finitely_critical_multi_filtration max() throw(){ + return Gudhi::multiparameter::multi_filtrations::Finitely_critical_multi_filtration(1, std::numeric_limits::max()); + }; static Gudhi::multiparameter::multi_filtrations::Finitely_critical_multi_filtration quiet_NaN() throw(){ return Gudhi::multiparameter::multi_filtrations::Finitely_critical_multi_filtration(1, numeric_limits::quiet_NaN()); };