From 1e1b88154c99e34f7d84403adfbb3b7fb364a80e Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Thu, 9 Jan 2014 12:29:04 +0100 Subject: [PATCH] Add simplex_order::get_complex() --- include/libstick-0.1/simplicialcomplex.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/libstick-0.1/simplicialcomplex.h b/include/libstick-0.1/simplicialcomplex.h index 482e12d..e83daa4 100644 --- a/include/libstick-0.1/simplicialcomplex.h +++ b/include/libstick-0.1/simplicialcomplex.h @@ -121,6 +121,10 @@ class simplicial_complex { return c.simplices[order.at(i)]; } + const simplcompltype& get_complex() const { + return c; + } + /** Returns true iff the faces of simplex i are before i in this order. */ bool is_filtration() const { assert(size() == c.size()); -- 2.39.5