summaryrefslogtreecommitdiff
path: root/src/Persistent_cohomology
diff options
context:
space:
mode:
authorglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-06-19 12:52:35 +0000
committerglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-06-19 12:52:35 +0000
commitfbdb713ed3f321e7a983eb4c50a8b26a37f3c193 (patch)
tree95ded49e37a087b4ab24b9d7bb0efd37f9f20715 /src/Persistent_cohomology
parent0cba984d06bf847238fcf52bbff658420c370813 (diff)
Trivial clean-ups
- add static/const to some member functions - remove an unused variable - don't pass int by const& git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/constify-ST@632 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: d8742bf06caf10115ba4b5157e81bfd7bf8d6e15
Diffstat (limited to 'src/Persistent_cohomology')
-rw-r--r--src/Persistent_cohomology/include/gudhi/Persistent_cohomology/Field_Zp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Persistent_cohomology/include/gudhi/Persistent_cohomology/Field_Zp.h b/src/Persistent_cohomology/include/gudhi/Persistent_cohomology/Field_Zp.h
index 2349cdac..2a4c8692 100644
--- a/src/Persistent_cohomology/include/gudhi/Persistent_cohomology/Field_Zp.h
+++ b/src/Persistent_cohomology/include/gudhi/Persistent_cohomology/Field_Zp.h
@@ -85,7 +85,7 @@ class Field_Zp {
return add_id_all;
}
/** \brief Returns the multiplicative identity \f$1_{\Bbbk}\f$ of the field.*/
- const Element& multiplicative_identity(Element P = 0) const {
+ const Element& multiplicative_identity(Element = 0) const {
return mult_id_all;
}
/** Returns the inverse in the field. Modifies P.*/