summaryrefslogtreecommitdiff
path: root/src/cython/include
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-12-01 17:05:44 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-12-01 17:05:44 +0000
commitbc374be801a1162ef56d22923711230579380959 (patch)
tree72d1ebcb51869d92c1df1b3547c8f1beea493509 /src/cython/include
parent85ed4b13bfc4289a5cbcb4e3d7cd4cae60078982 (diff)
Fix cubical periodic cythonization
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@3004 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 664770dcae1726b94d4a486c376d1d2f744371eb
Diffstat (limited to 'src/cython/include')
-rw-r--r--src/cython/include/Cubical_complex_interface.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cython/include/Cubical_complex_interface.h b/src/cython/include/Cubical_complex_interface.h
index 7c0148f1..fad92c2c 100644
--- a/src/cython/include/Cubical_complex_interface.h
+++ b/src/cython/include/Cubical_complex_interface.h
@@ -43,6 +43,12 @@ class Cubical_complex_interface : public Bitmap_cubical_complex<CubicalComplexOp
: Bitmap_cubical_complex<CubicalComplexOptions>(dimensions, top_dimensional_cells) {
}
+ Cubical_complex_interface(const std::vector<unsigned>& dimensions,
+ const std::vector<double>& top_dimensional_cells,
+ const std::vector<bool>& periodic_dimensions)
+ : Bitmap_cubical_complex<CubicalComplexOptions>(dimensions, top_dimensional_cells, periodic_dimensions) {
+ }
+
Cubical_complex_interface(const std::string& perseus_file)
: Bitmap_cubical_complex<CubicalComplexOptions>(perseus_file.c_str()) {
}