summaryrefslogtreecommitdiff
path: root/src/Persistent_cohomology
diff options
context:
space:
mode:
authorglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-03-13 14:51:06 +0000
committerglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-03-13 14:51:06 +0000
commit74d2aab913ce02ba1755ff4fc08e37e38cbb499a (patch)
treee0f628f5ef3962a629a64e52e9cb8a34638bcd14 /src/Persistent_cohomology
parentb77699a3188d6674427cffaa35f26ec57aadec8b (diff)
Simplex_key clarifications in FilteredComplex concept.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@3284 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a42ef2c14a64a769c9a8c8ddc37071ba260b17bf
Diffstat (limited to 'src/Persistent_cohomology')
-rw-r--r--src/Persistent_cohomology/concept/FilteredComplex.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Persistent_cohomology/concept/FilteredComplex.h b/src/Persistent_cohomology/concept/FilteredComplex.h
index c19698df..d6b662e9 100644
--- a/src/Persistent_cohomology/concept/FilteredComplex.h
+++ b/src/Persistent_cohomology/concept/FilteredComplex.h
@@ -31,7 +31,7 @@ struct FilteredComplex
typedef unspecified Simplex_handle;
/** \brief Key associated to each simplex.
*
- * Must be a signed integer type. */
+ * Must be an integer type. */
typedef unspecified Simplex_key;
/** \brief Type for the value of the filtration function.
*
@@ -67,8 +67,8 @@ struct FilteredComplex
Simplex_key key ( Simplex_handle sh );
/** \brief Returns the simplex that has index idx in the filtration.
*
- * This is never called on null_key(). */
- Simplex_handle simplex ( Simplex_key idx );
+ * This is only called on valid indices. */
+ Simplex_handle simplex ( size_t idx );
/** \brief Assign a key to a simplex. */
void assign_key(Simplex_handle sh, Simplex_key key);