summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-06-02 14:43:30 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-06-02 14:43:30 +0000
commite14afa991e33d1f9010590b634802055ad95dcae (patch)
tree3188955d569f144bbe04cc466ece9310c4267718
parent8ef6fe6c2e9d8176f99aca989f44a82e71193ff0 (diff)
Fix cpplint
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/persistence_representation_integration@2507 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 0e623d7fda81eb22a1572fe6f821697d2265de3b
-rw-r--r--src/Persistence_representations/include/gudhi/PSSK.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Persistence_representations/include/gudhi/PSSK.h b/src/Persistence_representations/include/gudhi/PSSK.h
index 53628737..e2d4225e 100644
--- a/src/Persistence_representations/include/gudhi/PSSK.h
+++ b/src/Persistence_representations/include/gudhi/PSSK.h
@@ -121,8 +121,10 @@ void PSSK::construct(const std::vector<std::pair<double, double> >& intervals_,
for (size_t pt_nr = 0; pt_nr != intervals_.size(); ++pt_nr) {
// compute the value of intervals_[pt_nr] in the grid:
- int x_grid = static_cast<int>((intervals_[pt_nr].first - this->min_) / (this->max_ - this->min_) * number_of_pixels);
- int y_grid = static_cast<int>((intervals_[pt_nr].second - this->min_) / (this->max_ - this->min_) * number_of_pixels);
+ int x_grid = static_cast<int>((intervals_[pt_nr].first - this->min_) /
+ (this->max_ - this->min_) * number_of_pixels);
+ int y_grid = static_cast<int>((intervals_[pt_nr].second - this->min_) /
+ (this->max_ - this->min_) * number_of_pixels);
if (dbg) {
std::cerr << "point : " << intervals_[pt_nr].first << " , " << intervals_[pt_nr].second << std::endl;