summaryrefslogtreecommitdiff
path: root/src/Persistence_representations/example/persistence_heat_maps_exact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Persistence_representations/example/persistence_heat_maps_exact.cpp')
-rw-r--r--src/Persistence_representations/example/persistence_heat_maps_exact.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Persistence_representations/example/persistence_heat_maps_exact.cpp b/src/Persistence_representations/example/persistence_heat_maps_exact.cpp
index 30346d78..f15b710d 100644
--- a/src/Persistence_representations/example/persistence_heat_maps_exact.cpp
+++ b/src/Persistence_representations/example/persistence_heat_maps_exact.cpp
@@ -28,12 +28,13 @@
#include <utility>
#include <string>
+using Persistence_diagram = Gudhi::Persistence_representations::Persistence_diagram;
using PI = Gudhi::Persistence_representations::Persistence_heat_maps_exact;
using Weight = std::function<double (std::pair<double,double>) >;
int main(int argc, char** argv) {
- std::vector<std::pair<double, double> > persistence;
+ Persistence_diagram persistence;
persistence.push_back(std::make_pair(1, 2));
persistence.push_back(std::make_pair(6, 8));