From 08f745543df5944075c9091f97c217284ce7f52f Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Wed, 26 Apr 2017 07:56:09 +0000 Subject: Fix warnings git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@2381 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: db27facc0c7eec7c48233648c6df4a47f9e09697 --- src/Witness_complex/include/gudhi/Strong_witness_complex.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/Witness_complex/include/gudhi/Strong_witness_complex.h') diff --git a/src/Witness_complex/include/gudhi/Strong_witness_complex.h b/src/Witness_complex/include/gudhi/Strong_witness_complex.h index a973ddb7..6f4bcf60 100644 --- a/src/Witness_complex/include/gudhi/Strong_witness_complex.h +++ b/src/Witness_complex/include/gudhi/Strong_witness_complex.h @@ -105,10 +105,6 @@ class Strong_witness_complex { << "non-negative.\n"; return false; } - if (limit_dimension < 0) { - std::cerr << "Strong witness complex cannot create complex - limit dimension must be non-negative.\n"; - return false; - } for (auto w : nearest_landmark_table_) { ActiveWitness aw(w); typeVectorVertex simplex; -- cgit v1.2.3