summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieuCarriere <mathieu.carriere3@gmail.com>2020-04-30 00:52:52 -0400
committerMathieuCarriere <mathieu.carriere3@gmail.com>2020-04-30 00:52:52 -0400
commita51f4f177e29ad5b01e58c9d8dd2560fb9b4fb19 (patch)
tree9d03a6f83a544a96b12f5e3a5caf716fc1d9f408
parent2b5586fd60848b159fb4fa4481e61bab0e0cd766 (diff)
int to size_t
-rw-r--r--src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h4
1 files changed, 2 insertions, 2 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 eaf8a0b6..e0c567ae 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
@@ -116,7 +116,7 @@ class Bitmap_cubical_complex_base {
* be an edge or vertex of a cube. On the other hand, the output is always indicating the position of
* a cube in the data structure.
**/
- inline int get_top_dimensional_coface_of_a_cell(size_t splx);
+ inline size_t get_top_dimensional_coface_of_a_cell(size_t splx);
/**
* This procedure compute incidence numbers between cubes. For a cube \f$A\f$ of
@@ -612,7 +612,7 @@ void Bitmap_cubical_complex_base<T>::setup_bitmap_based_on_top_dimensional_cells
}
template <typename T>
-int Bitmap_cubical_complex_base<T>::get_top_dimensional_coface_of_a_cell(size_t splx) {
+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{
for (auto v : this->get_coboundary_of_a_cell(splx)){