summaryrefslogtreecommitdiff
path: root/include/gudhi/Strong_witness_complex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gudhi/Strong_witness_complex.h')
-rw-r--r--include/gudhi/Strong_witness_complex.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/gudhi/Strong_witness_complex.h b/include/gudhi/Strong_witness_complex.h
index a973ddb7..6f4bcf60 100644
--- a/include/gudhi/Strong_witness_complex.h
+++ b/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;