summaryrefslogtreecommitdiff
path: root/src/Persistence_representations/include/gudhi/Persistence_intervals.h
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-06-02 14:08:45 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-06-02 14:08:45 +0000
commit12205e50480035a555ea68b71239fd83feef3226 (patch)
tree9eeb69548a3c7663403718ae4933a04b2dddd929 /src/Persistence_representations/include/gudhi/Persistence_intervals.h
parent4ba017094d3246cd8fe917a6c45443ba25d74b1d (diff)
Fix cpplint issues
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/persistence_representation_integration@2503 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: f2c5ba756b7cd4115fb97eeb066216b312b4ae2f
Diffstat (limited to 'src/Persistence_representations/include/gudhi/Persistence_intervals.h')
-rw-r--r--src/Persistence_representations/include/gudhi/Persistence_intervals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Persistence_representations/include/gudhi/Persistence_intervals.h b/src/Persistence_representations/include/gudhi/Persistence_intervals.h
index 9e614efd..525d58a3 100644
--- a/src/Persistence_representations/include/gudhi/Persistence_intervals.h
+++ b/src/Persistence_representations/include/gudhi/Persistence_intervals.h
@@ -403,7 +403,8 @@ std::vector<double> Persistence_intervals::characteristic_function_of_diagram(do
for (size_t pos = beginIt; pos != endIt; ++pos) {
result[pos] +=
- ((x_max - x_min) / static_cast<double>(number_of_bins)) * (this->intervals[i].second - this->intervals[i].first);
+ ((x_max - x_min) / static_cast<double>(number_of_bins)) *
+ (this->intervals[i].second - this->intervals[i].first);
}
if (dbg) {
std::cerr << "Result at this stage \n";