diff options
Diffstat (limited to 'src/Witness_complex')
-rw-r--r-- | src/Witness_complex/include/gudhi/Strong_witness_complex.h | 3 | ||||
-rw-r--r-- | src/Witness_complex/include/gudhi/Witness_complex.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Witness_complex/include/gudhi/Strong_witness_complex.h b/src/Witness_complex/include/gudhi/Strong_witness_complex.h index 058b5bbc..25b2f6e3 100644 --- a/src/Witness_complex/include/gudhi/Strong_witness_complex.h +++ b/src/Witness_complex/include/gudhi/Strong_witness_complex.h @@ -55,11 +55,12 @@ private: typedef Active_witness<Id_distance_pair, Nearest_landmark_range> ActiveWitness; typedef std::list< ActiveWitness > ActiveWitnessList; typedef std::vector< Landmark_id > typeVectorVertex; + typedef std::vector<Nearest_landmark_range> Nearest_landmark_table_internal; typedef Landmark_id Vertex_handle; protected: - Nearest_landmark_table_ nearest_landmark_table_; + Nearest_landmark_table_internal nearest_landmark_table_; public: ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/Witness_complex/include/gudhi/Witness_complex.h b/src/Witness_complex/include/gudhi/Witness_complex.h index a3436eba..8489083e 100644 --- a/src/Witness_complex/include/gudhi/Witness_complex.h +++ b/src/Witness_complex/include/gudhi/Witness_complex.h @@ -56,11 +56,12 @@ private: typedef Active_witness<Id_distance_pair, Nearest_landmark_range> ActiveWitness; typedef std::list< ActiveWitness > ActiveWitnessList; typedef std::vector< Landmark_id > typeVectorVertex; + typedef std::vector<Nearest_landmark_range> Nearest_landmark_table_internal; typedef Landmark_id Vertex_handle; protected: - Nearest_landmark_table_ nearest_landmark_table_; + Nearest_landmark_table_internal nearest_landmark_table_; public: ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |