diff options
author | Vincent Rouvreau <vincent.rouvreau@inria.fr> | 2022-06-17 16:33:54 +0200 |
---|---|---|
committer | Vincent Rouvreau <vincent.rouvreau@inria.fr> | 2022-06-17 16:33:54 +0200 |
commit | fc910c1bcb3451bcf3e288db25fecafe15cc42bb (patch) | |
tree | 1be9b439b0e74eb04c873612dbca28990284f24c /src/common/include/gudhi/writing_persistence_to_file.h | |
parent | 048fff97cd0a53be5953c4d5799f8e2e097c181c (diff) | |
parent | 854ae4169ece5edfaae15526f42314b0976e2b84 (diff) |
Merge master
Diffstat (limited to 'src/common/include/gudhi/writing_persistence_to_file.h')
-rw-r--r-- | src/common/include/gudhi/writing_persistence_to_file.h | 4 |
1 files changed, 2 insertions, 2 deletions
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_); |