summaryrefslogtreecommitdiff
path: root/src/Persistence_representations/test/persistence_lanscapes_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Persistence_representations/test/persistence_lanscapes_test.cpp')
-rw-r--r--src/Persistence_representations/test/persistence_lanscapes_test.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Persistence_representations/test/persistence_lanscapes_test.cpp b/src/Persistence_representations/test/persistence_lanscapes_test.cpp
index 1141edfb..22686560 100644
--- a/src/Persistence_representations/test/persistence_lanscapes_test.cpp
+++ b/src/Persistence_representations/test/persistence_lanscapes_test.cpp
@@ -239,7 +239,7 @@ if ( argc != 2 )
std::cerr << "To run this program, please provide a name of a file with persistence landscape \n";
//return 1;
}
- Persistence_landscape p("../test/data/file_with_diagram");
+ Persistence_landscape p("data/file_with_diagram");
Persistence_landscape q;
q.load_landscape_from_file( "file_with_landscape_from_file_with_diagram" );
@@ -329,8 +329,8 @@ if ( argc != 2 )
endl;
{
- Persistence_landscape p( "../test/data/file_with_diagram" );
- Persistence_landscape q( "../test/data/file_with_diagram_1" );
+ Persistence_landscape p( "data/file_with_diagram" );
+ Persistence_landscape q( "data/file_with_diagram_1" );
Persistence_landscape av;
av.compute_average( {&p,&q} );
@@ -344,8 +344,8 @@ endl;
{
- Persistence_landscape p( "../test/data/file_with_diagram" );
- Persistence_landscape q( "../test/data/file_with_diagram_1" );
+ Persistence_landscape p( "data/file_with_diagram" );
+ Persistence_landscape q( "data/file_with_diagram_1" );
cout << "L^1 distance : " << p.distance( &q ) << endl;
cout << "L^2 distance : " << p.distance( &q , 2) << endl;
cout << "L^infty distance : " << p.distance( &q , std::numeric_limits<double>::max() ) << endl;
@@ -353,8 +353,8 @@ endl;
{
- Persistence_landscape p( "../test/data/file_with_diagram" );
- Persistence_landscape q( "../test/data/file_with_diagram_1" );
+ Persistence_landscape p( "data/file_with_diagram" );
+ Persistence_landscape q( "data/file_with_diagram_1" );
cout << "Scalar product : " << p.compute_scalar_product( &q ) << endl;
}
*/