summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape.h b/src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape.h
index c274a81f..e14771b3 100644
--- a/src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape.h
+++ b/src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape.h
@@ -48,6 +48,10 @@ namespace Gudhi_stat
+//predeclaration
+class Persistence_landscape;
+template < typename operation >
+Persistence_landscape operation_on_pair_of_landscapes( const Persistence_landscape& land1 , const Persistence_landscape& land2 );
@@ -125,11 +129,11 @@ public:
* Shall those points be joined with lines, we will obtain the i-th landscape function.
**/
friend std::ostream& operator<<(std::ostream& out, Persistence_landscape& land );
+
+ template < typename operation >
+ friend Persistence_landscape operation_on_pair_of_landscapes( const Persistence_landscape& land1 , const Persistence_landscape& land2 );
-protected:
- template < typename oper > friend Persistence_landscape operation_on_pair_of_landscapes ( const Persistence_landscape& land1 , const Persistence_landscape& land2 );
-public:
/**