Removed a buggy assertion in LSVineard::transpose_vertices() (j points at the end() when moving the last simplex of the filtration) dev
authorDmitriy Morozov <dmitriy@mrzv.org>
Wed, 03 Feb 2010 11:20:40 -0800
branchdev
changeset 194 6c2a98fb8990
parent 193 7198c9bf279d
child 195 8a6f3ef2c42d
Removed a buggy assertion in LSVineard::transpose_vertices() (j points at the end() when moving the last simplex of the filtration)
include/topology/lsvineyard.hpp
--- a/include/topology/lsvineyard.hpp	Tue Feb 02 23:43:46 2010 -0800
+++ b/include/topology/lsvineyard.hpp	Wed Feb 03 11:20:40 2010 -0800
@@ -245,7 +245,6 @@
             AssertMsg(j_prev->attachment == vi, "Simplex preceding the one being moved must be attached to v");
             result |= persistence_.transpose(j_prev, dim, visitor);
             AssertMsg((j_prev  <= persistence().iterator_to(j_prev->pair)) == j_prev->sign(), "Pairing must respect order");
-            AssertMsg((j       <= persistence().iterator_to(j->pair))      == j->sign(),      "Pairing must respect order");
             --j_prev;
         }
     }