summaryrefslogtreecommitdiff
path: root/src/Bitmap_cubical_complex
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2020-05-13 20:17:26 +0200
committerMarc Glisse <marc.glisse@inria.fr>2020-05-13 20:17:26 +0200
commitb0ae08e93fdba8a1faec56c2230b6f542653c49e (patch)
tree3ca06d69983628a26eaca0b09ee14d5e0a8aee50 /src/Bitmap_cubical_complex
parent7bbc1ae35d492123c517a54a9595188938e52dff (diff)
Trailing whitespace
Diffstat (limited to 'src/Bitmap_cubical_complex')
-rw-r--r--src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h b/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h
index 5927bbec..58d9208d 100644
--- a/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h
+++ b/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h
@@ -112,8 +112,8 @@ class Bitmap_cubical_complex_base {
virtual inline std::vector<std::size_t> get_coboundary_of_a_cell(std::size_t cell) const;
/**
- * This function finds a top-dimensional cell that is incident to the input cell and has
- * the same filtration value. In case several cells are suitable, an arbitrary one is
+ * This function finds a top-dimensional cell that is incident to the input cell and has
+ * the same filtration value. In case several cells are suitable, an arbitrary one is
* returned. Note that the input parameter can be a cell of any dimension (vertex, edge, etc).
* On the other hand, the output is always indicating the position of
* a top-dimensional cube in the data structure.
@@ -617,12 +617,12 @@ void Bitmap_cubical_complex_base<T>::setup_bitmap_based_on_top_dimensional_cells
template <typename T>
size_t Bitmap_cubical_complex_base<T>::get_top_dimensional_coface_of_a_cell(size_t splx) {
if (this->get_dimension_of_a_cell(splx) == this->dimension()){return splx;}
- else{
+ else{
for (auto v : this->get_coboundary_of_a_cell(splx)){
if(this->get_cell_data(v) == this->get_cell_data(splx)){
return this->get_top_dimensional_coface_of_a_cell(v);
}
- }
+ }
}
BOOST_UNREACHABLE_RETURN(-2);
}