diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2018-06-15 12:42:55 +0200 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2018-06-15 12:42:55 +0200 |
commit | c31bac6af57af917b8f799d0c21eb6af34ee1f6e (patch) | |
tree | 5a9603a4ec016f1aa09c7da52510790680c790c3 /include/gudhi/Persistent_cohomology.h | |
parent | 02de1136cf9850803cb1e1ac1141f11b50be2992 (diff) | |
parent | 41482b4260b4aff3d6803e340d5c94fbefb9af67 (diff) |
Merge branch 'dfsg/latest' into debian/sid
Diffstat (limited to 'include/gudhi/Persistent_cohomology.h')
-rw-r--r-- | include/gudhi/Persistent_cohomology.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gudhi/Persistent_cohomology.h b/include/gudhi/Persistent_cohomology.h index e0a147b3..c68b5c0b 100644 --- a/include/gudhi/Persistent_cohomology.h +++ b/include/gudhi/Persistent_cohomology.h @@ -4,7 +4,7 @@ * * Author(s): Clément Maria * - * Copyright (C) 2014 INRIA Sophia Antipolis-Méditerranée (France) + * Copyright (C) 2014 Inria * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -285,7 +285,7 @@ class Persistent_cohomology { } } cpx_->assign_key(sigma, cpx_->null_key()); - } else { // If ku == kv, same connected component: create a 1-cocycle class. + } else if (dim_max_ > 1) { // If ku == kv, same connected component: create a 1-cocycle class. create_cocycle(sigma, coeff_field_.multiplicative_identity(), coeff_field_.characteristic()); } } |