diff options
author | Ulrich Bauer <mail@ulrich-bauer.org> | 2017-01-04 23:18:36 +0100 |
---|---|---|
committer | Ulrich Bauer <mail@ulrich-bauer.org> | 2017-01-04 23:18:36 +0100 |
commit | b9c0af75e3b570cd09634b96373da5828eefef9d (patch) | |
tree | a7c3e1d07fbaad941c6e04d9e8d4a8fac8ae44d2 /include/phat/helpers/dualize.h | |
parent | bb5407b3dfc05cdfef6d4260c81750926d882843 (diff) | |
parent | ed83287e4221c37916097f64b6f93e06c2c8bbbe (diff) |
Merge branch 'master' into python-pr
# Conflicts:
# README.md
Diffstat (limited to 'include/phat/helpers/dualize.h')
-rw-r--r-- | include/phat/helpers/dualize.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/phat/helpers/dualize.h b/include/phat/helpers/dualize.h index 3ffedf8..5731408 100644 --- a/include/phat/helpers/dualize.h +++ b/include/phat/helpers/dualize.h @@ -65,7 +65,7 @@ namespace phat { boundary_matrix.load_vector_vector( dual_matrix, dual_dims );
}
- void dualize_persistence_pairs( persistence_pairs& pairs, const index n ) {
+ inline void dualize_persistence_pairs( persistence_pairs& pairs, const index n ) {
for (index i = 0; i < pairs.get_num_pairs(); ++i) {
std::pair< index, index > pair = pairs.get_pair( i );
pairs.set_pair( i , n - 1 - pair.second, n - 1 - pair.first);
|