From 05415ffc3e1e8b00623de2088093d84e3030b0f1 Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Sat, 16 May 2020 11:44:46 +0200 Subject: Redundant assert --- src/python/gudhi/clustering/tomato.py | 1 - 1 file changed, 1 deletion(-) (limited to 'src/python/gudhi/clustering') diff --git a/src/python/gudhi/clustering/tomato.py b/src/python/gudhi/clustering/tomato.py index 1a2887bc..0a2d562b 100644 --- a/src/python/gudhi/clustering/tomato.py +++ b/src/python/gudhi/clustering/tomato.py @@ -93,7 +93,6 @@ class Tomato: density_type = "manual" else: density_type = self.density_type_ - assert density_type != "manual" if density_type == "manual": raise ValueError("If density_type is 'manual', you must provide weights to fit()") -- cgit v1.2.3