summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Bauer <mail@ulrich-bauer.org>2019-05-22 21:19:58 +0200
committerUlrich Bauer <mail@ulrich-bauer.org>2019-05-22 21:19:58 +0200
commitb100038da9f18493bd461a8f0f0d9b4540f102da (patch)
treef53ecdce624c14df41507be171df274fb5e01fb6
parent3f5478ce251e3984a76e281440e957ca1edd79cb (diff)
default build with coefficients enabled
-rw-r--r--Makefile7
-rw-r--r--ripser.cpp2
2 files changed, 3 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 4967c0d..7d43e22 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,15 @@
build: ripser
-all: ripser ripser-coeff ripser-debug
+all: ripser 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-coeff ripser-debug
+ rm -f ripser ripser-debug
diff --git a/ripser.cpp b/ripser.cpp
index de2f368..b1d6bbe 100644
--- a/ripser.cpp
+++ b/ripser.cpp
@@ -37,7 +37,7 @@
*/
#define ASSEMBLE_REDUCTION_MATRIX
-//#define USE_COEFFICIENTS
+#define USE_COEFFICIENTS
//#define INDICATE_PROGRESS
#define PRINT_PERSISTENCE_PAIRS