--- a/examples/triangle/triangle.cpp Fri Dec 22 12:52:35 2006 -0500
+++ b/examples/triangle/triangle.cpp Mon Dec 25 12:28:13 2006 -0500
@@ -41,7 +41,7 @@
fillTriangleSimplices(tf);
tf.fill_simplex_index_map();
- tf.pair_simplices(tf.begin(), tf.end());
+ tf.pair_simplices();
v.start_vines(tf.begin(), tf.end());
std::cout << "Filtration size: " << tf.size() << std::endl;
--- a/include/filtration.h Fri Dec 22 12:52:35 2006 -0500
+++ b/include/filtration.h Mon Dec 25 12:28:13 2006 -0500
@@ -61,6 +61,7 @@
/// @{
/// Computes RU decomposition of the simplices in [bg, end) range, assuming that everything before bg has been paired
void pair_simplices(Index bg, Index end);
+ void pair_simplices() { pair_simplices(begin(), end()); }
bool transpose(Index i);
bool is_paired() const;
Index append(const Simplex& s); ///< Appends s to the filtration