diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2022-06-08 09:20:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-08 09:20:18 +0200 |
commit | f045b0fe772e2c690d80aebcd31734700790c8a8 (patch) | |
tree | 627e41947a1ff275c92441a8b953b829d8311d70 /src/common/include | |
parent | 91b21f6cfdf8e225070514c34bd6fcae296e3d52 (diff) | |
parent | e66ad01ed9fefd2fd4584c5e7928f808e3f257f5 (diff) |
Merge branch 'master' into feature/bug_class_diagrams
Diffstat (limited to 'src/common/include')
-rw-r--r-- | src/common/include/gudhi/reader_utils.h | 2 | ||||
-rw-r--r-- | src/common/include/gudhi/writing_persistence_to_file.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/include/gudhi/reader_utils.h b/src/common/include/gudhi/reader_utils.h index 29d5423d..a7d82541 100644 --- a/src/common/include/gudhi/reader_utils.h +++ b/src/common/include/gudhi/reader_utils.h @@ -231,7 +231,7 @@ std::vector<std::vector<Filtration_value>> read_lower_triangular_matrix_from_csv std::string line; - // the first line is emtpy, so we ignore it: + // the first line is empty, so we ignore it: std::getline(in, line); std::vector<Filtration_value> values_in_this_line; result.push_back(values_in_this_line); diff --git a/src/common/include/gudhi/writing_persistence_to_file.h b/src/common/include/gudhi/writing_persistence_to_file.h index 2e36b831..3a0df1a8 100644 --- a/src/common/include/gudhi/writing_persistence_to_file.h +++ b/src/common/include/gudhi/writing_persistence_to_file.h @@ -48,7 +48,7 @@ class Persistence_interval_common { : birth_(birth), death_(death), dimension_(dim), arith_element_(field) {} /** - * Operator to compare two persistence pairs. During the comparision all the + * Operator to compare two persistence pairs. During the comparison all the * fields: birth, death, dimensiona and arith_element_ are taken into account * and they all have to be equal for two pairs to be equal. **/ @@ -65,7 +65,7 @@ class Persistence_interval_common { /** * Operator to compare objects of a type Persistence_interval_common. * One intervals is smaller than the other if it has lower persistence. - * Note that this operator do not take Arith_element into account when doing comparisions. + * Note that this operator do not take Arith_element into account when doing comparisons. **/ bool operator<(const Persistence_interval_common& i2) const { return fabs(this->death_ - this->birth_) < fabs(i2.death_ - i2.birth_); |