summaryrefslogtreecommitdiff
path: root/src/Persistence_representations/utilities/persistence_heat_maps/compute_distance_of_persistence_heat_maps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Persistence_representations/utilities/persistence_heat_maps/compute_distance_of_persistence_heat_maps.cpp')
-rw-r--r--src/Persistence_representations/utilities/persistence_heat_maps/compute_distance_of_persistence_heat_maps.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Persistence_representations/utilities/persistence_heat_maps/compute_distance_of_persistence_heat_maps.cpp b/src/Persistence_representations/utilities/persistence_heat_maps/compute_distance_of_persistence_heat_maps.cpp
index d3e6f322..27a7836f 100644
--- a/src/Persistence_representations/utilities/persistence_heat_maps/compute_distance_of_persistence_heat_maps.cpp
+++ b/src/Persistence_representations/utilities/persistence_heat_maps/compute_distance_of_persistence_heat_maps.cpp
@@ -34,8 +34,8 @@ using namespace Gudhi::Persistence_representations;
int main( int argc , char** argv )
{
- std::cout << "This program compute dsitance of persistence heat maps stored in a file (the file needs to be created beforehand). \n";
- std::cout << "The first parameter of a program is an interger p. The program compute L^p distance of the two heat maps. For L^infty distance choose p = -1. \n";
+ std::cout << "This program compute distance of persistence heat maps stored in a file (the file needs to be created beforehand). \n";
+ std::cout << "The first parameter of a program is an integer p. The program compute L^p distance of the two heat maps. For L^infty distance choose p = -1. \n";
std::cout << "The remaining parameters of this programs are names of files with persistence heat maps.\n";
if ( argc < 3 )
@@ -76,7 +76,7 @@ int main( int argc , char** argv )
distance[i] = v;
}
- //and now we can compute the distnaces:
+ //and now we can compute the distances:
for ( size_t i = 0 ; i != filenames.size() ; ++i )
{
for ( size_t j = i ; j != filenames.size() ; ++j )
@@ -106,6 +106,3 @@ int main( int argc , char** argv )
-
-
-