summaryrefslogtreecommitdiff
path: root/src/Persistent_cohomology/example/alpha_complex_persistence.cpp
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-09-23 09:37:35 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-09-23 09:37:35 +0000
commit0101a149fc124d62f8a4966654fa30e01f57d424 (patch)
tree934cb37b846b3b7e9e7008c20336b35fe868e426 /src/Persistent_cohomology/example/alpha_complex_persistence.cpp
parent143d7809306d21f120d9177128751a41b8460533 (diff)
Fix cpplints
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alpha_complex_create_complex@1548 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: b8d7d5b4bde8aeec92d6bfc79b8c146c551317c0
Diffstat (limited to 'src/Persistent_cohomology/example/alpha_complex_persistence.cpp')
-rw-r--r--src/Persistent_cohomology/example/alpha_complex_persistence.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Persistent_cohomology/example/alpha_complex_persistence.cpp b/src/Persistent_cohomology/example/alpha_complex_persistence.cpp
index 44eda6aa..2412569a 100644
--- a/src/Persistent_cohomology/example/alpha_complex_persistence.cpp
+++ b/src/Persistent_cohomology/example/alpha_complex_persistence.cpp
@@ -42,19 +42,19 @@ int main(int argc, char **argv) {
std::cout << "Simplicial complex is of dimension " << simplex.dimension() <<
" - " << simplex.num_simplices() << " simplices - " <<
simplex.num_vertices() << " vertices." << std::endl;
-
+
// Sort the simplices in the order of the filtration
simplex.initialize_filtration();
-
+
std::cout << "Simplex_tree dim: " << simplex.dimension() << std::endl;
// Compute the persistence diagram of the complex
Gudhi::persistent_cohomology::Persistent_cohomology< Gudhi::Simplex_tree<>,
Gudhi::persistent_cohomology::Field_Zp > pcoh(simplex);
// initializes the coefficient field for homology
pcoh.init_coefficients(coeff_field_characteristic);
-
+
pcoh.compute_persistent_cohomology(min_persistence);
-
+
// Output the diagram in filediag
if (output_file_diag.empty()) {
pcoh.output_diagram();