diff options
author | pdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-12-27 09:25:07 +0000 |
---|---|---|
committer | pdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-12-27 09:25:07 +0000 |
commit | 1884df27964e344ac0004964c633ba01d4a6ae29 (patch) | |
tree | 28ee2cf45a95feeb8565e44492e4f4c9c2f92c95 /src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex.h | |
parent | 5eae3bbe5c06a3b601b885ea9f2561743f4aeb1a (diff) |
COrrestions suggested by Marc just before Chrismas.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/bitmap@948 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: b5391c6584d8042646fea5ca17e250fcfc3dd85f
Diffstat (limited to 'src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex.h')
-rw-r--r-- | src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex.h b/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex.h index c082caba..b324d272 100644 --- a/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex.h +++ b/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex.h @@ -278,7 +278,8 @@ public: //Range over the simplices of the complex in the order of the filtration. //.begin() and .end() return type Filtration_simplex_iterator. public:
- typedef Filtration_simplex_iterator const_iterator; + typedef Filtration_simplex_iterator const_iterator;
+ typedef Filtration_simplex_iterator iterator; Filtration_simplex_range(Bitmap_cubical_complex<T>* b):b(b){}; Filtration_simplex_iterator begin() { @@ -430,7 +431,8 @@ public: //Range over the simplices of the complex in the order of the filtration. //.begin() and .end() return type Filtration_simplex_iterator. public:
- typedef Skeleton_simplex_iterator const_iterator; + typedef Skeleton_simplex_iterator const_iterator;
+ typedef Skeleton_simplex_iterator iterator; Skeleton_simplex_range(Bitmap_cubical_complex<T>* b , unsigned dimension):b(b),dimension(dimension){}; Skeleton_simplex_iterator begin() { |