summaryrefslogtreecommitdiff
path: root/include/gudhi/Witness_complex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gudhi/Witness_complex.h')
-rw-r--r--include/gudhi/Witness_complex.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/gudhi/Witness_complex.h b/include/gudhi/Witness_complex.h
index 63f03687..bcfe8484 100644
--- a/include/gudhi/Witness_complex.h
+++ b/include/gudhi/Witness_complex.h
@@ -106,10 +106,6 @@ class Witness_complex {
std::cerr << "Witness complex cannot create complex - squared relaxation parameter must be non-negative.\n";
return false;
}
- if (limit_dimension < 0) {
- std::cerr << "Witness complex cannot create complex - limit dimension must be non-negative.\n";
- return false;
- }
ActiveWitnessList active_witnesses;
Landmark_id k = 0; /* current dimension in iterative construction */
for (auto w : nearest_landmark_table_)