summaryrefslogtreecommitdiff
path: root/src/Gudhi_stat/include
diff options
context:
space:
mode:
authorpdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-04-09 07:57:21 +0000
committerpdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-04-09 07:57:21 +0000
commitf2de3ccb564dc0787dadc6447f8d6a00122b33e9 (patch)
treed0f3ae887ccb24b6312ed8db577c8959d96f8718 /src/Gudhi_stat/include
parentf42b5fde65068bc02cfab9abaa4c05b52ff4c13d (diff)
Answer to Marc's comments.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/gudhi_stat@2321 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 4eb08a7ca5664fffd8e683c30871d3fd53d1a551
Diffstat (limited to 'src/Gudhi_stat/include')
-rw-r--r--src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape_on_grid.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape_on_grid.h b/src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape_on_grid.h
index a4d8dce6..a0520e49 100644
--- a/src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape_on_grid.h
+++ b/src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape_on_grid.h
@@ -1070,7 +1070,7 @@ protected:
void Persistence_landscape_on_grid::set_up_values_of_landscapes( const std::vector< std::pair< double , double > >& p , double grid_min_ , double grid_max_ , size_t number_of_points_, unsigned number_of_levels )
-{
+{
bool dbg = false;
if ( dbg )
{
@@ -1203,6 +1203,7 @@ void Persistence_landscape_on_grid::set_up_values_of_landscapes( const std::vect
//first reverse all the values (note that they are negatie, since we were using heap:
for ( size_t pt = 0 ; pt != this->values_of_landscapes.size() ; ++pt )
{
+ //std::cerr << this->values_of_landscapes[pt].size() <<std::endl;
for ( size_t j = 0 ; j != this->values_of_landscapes[pt].size() ; ++j )
{
this->values_of_landscapes[pt][j] *= -1;