From c060b310743419607927dc7206658331985388f0 Mon Sep 17 00:00:00 2001 From: Ulrich Bauer Date: Mon, 8 Jul 2019 09:05:13 +0200 Subject: coefficients variant --- Makefile | 7 +++++-- ripser.cpp | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7d43e22..4967c0d 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,18 @@ build: ripser -all: ripser ripser-debug +all: ripser ripser-coeff ripser-debug ripser: ripser.cpp c++ -std=c++11 ripser.cpp -o ripser -Ofast -D NDEBUG +ripser-coeff: ripser.cpp + c++ -std=c++11 ripser.cpp -o ripser-coeff -Ofast -D NDEBUG -D USE_COEFFICIENTS + ripser-debug: ripser.cpp c++ -std=c++11 ripser.cpp -o ripser-debug -g clean: - rm -f ripser ripser-debug + rm -f ripser ripser-coeff ripser-debug diff --git a/ripser.cpp b/ripser.cpp index 6021ad0..74e9b2e 100644 --- a/ripser.cpp +++ b/ripser.cpp @@ -36,9 +36,9 @@ */ -#define USE_COEFFICIENTS +//#define USE_COEFFICIENTS -#define INDICATE_PROGRESS +//#define INDICATE_PROGRESS #define PRINT_PERSISTENCE_PAIRS //#define USE_GOOGLE_HASHMAP -- cgit v1.2.3