diff options
author | mkerber <mkerber@mpi-inf.mpg.de> | 2016-12-19 15:47:50 +0000 |
---|---|---|
committer | mkerber <mkerber@mpi-inf.mpg.de> | 2016-12-19 15:47:50 +0000 |
commit | 86d2525533329011fa5b41d5461bd10fe23fdb57 (patch) | |
tree | 32f09b24fad03636b937b1b1fdeae5ceb0f1e4c2 /include/phat/helpers | |
parent | c43615641534d3708dd6d365212e474c6350056c (diff) |
Function dualize_persistence_pairs made inline to avoid linker problem
Diffstat (limited to 'include/phat/helpers')
-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);
|