summaryrefslogtreecommitdiff
path: root/src/Simplex_tree/include/gudhi/Simplex_tree.h
diff options
context:
space:
mode:
authoranmoreau <anmoreau@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-08-24 14:56:23 +0000
committeranmoreau <anmoreau@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-08-24 14:56:23 +0000
commitfa7f116a662bf8cff80402ad0011bcb83296c182 (patch)
treef139f8faecb77d1c49c7d69e6f9a57215ebd3182 /src/Simplex_tree/include/gudhi/Simplex_tree.h
parent84ab537dccbec5eefa28f47f9a40f1ec1a83bf25 (diff)
Fixes
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/copy_move@757 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 88bfc9b672be26ed97bea4aecdcfbafb24259553
Diffstat (limited to 'src/Simplex_tree/include/gudhi/Simplex_tree.h')
-rw-r--r--src/Simplex_tree/include/gudhi/Simplex_tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h
index b32b525b..51c39801 100644
--- a/src/Simplex_tree/include/gudhi/Simplex_tree.h
+++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h
@@ -288,7 +288,7 @@ class Simplex_tree {
/** \brief Copy; copy the whole tree structure. */
Simplex_tree(Simplex_tree& copy) : null_vertex_(copy.null_vertex_),
threshold_(copy.threshold_),
- root_(NULL, -1, std::vector<std::pair<Vertex_handle, Node>> (copy.root_.members().begin(), copy.root_.members().end())),
+ root_(NULL, -1, copy.root_.members()),
filtration_vect_(copy.filtration_vect_),
dimension_(copy.dimension_) {
rec_copy(&root_, &copy.root_);