summaryrefslogtreecommitdiff
path: root/src/Gudhi_stat/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp
diff options
context:
space:
mode:
authorpdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-10-21 20:10:53 +0000
committerpdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-10-21 20:10:53 +0000
commit754d26e6545b92f84017a618ac3813434f222bca (patch)
treef227e3303d156fa90e19fa9cf2b1f7a1868351af /src/Gudhi_stat/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp
parent19451e20b6d47b6a84d5ad89d99497e0e60cd377 (diff)
adding a few corrections. Moreover I right now persisgence_heat_map is a template class. A template parameter is a class that gives the scaling of kernel with repsect to diagonal.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/gudhi_stat@1742 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 37e4c01a95f5682f4acb3bba3145014671f95188
Diffstat (limited to 'src/Gudhi_stat/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp')
-rw-r--r--src/Gudhi_stat/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Gudhi_stat/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp b/src/Gudhi_stat/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp
index c4eed502..39a46adb 100644
--- a/src/Gudhi_stat/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp
+++ b/src/Gudhi_stat/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp
@@ -35,7 +35,7 @@ using namespace Gudhi::Gudhi_stat;
int main( int argc , char** argv )
{
std::cout << "This program plot persistence landscape stored in a file (the file needs to be created beforehand). Please call the code with the name of a landsape file \n";
- Persistence_heat_maps l;
+ Persistence_heat_maps<constant_scaling_function> l;
l.load_from_file( argv[1] );
l.plot( argv[1] );
return 0;