From 5c26fec87d78df17dde34dc108f69ac51c39c871 Mon Sep 17 00:00:00 2001 From: Florian Stecker Date: Sun, 15 Jul 2018 13:39:09 +0200 Subject: [PATCH] fixed sorting --- Makefile | 4 ++-- hyperbolic.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a35688a..ecd48d8 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ HEADERS=triangle.h linalg.h queue.h -SPECIAL_OPTIONS=-O0 -g -D_DEBUG -Wall +#SPECIAL_OPTIONS=-O0 -g -D_DEBUG #SPECIAL_OPTIONS=-O3 -pg -funroll-loops -fno-inline -#SPECIAL_OPTIONS=-O3 -flto -funroll-loops -Winline +SPECIAL_OPTIONS=-O3 -flto -funroll-loops -Winline #SPECIAL_OPTIONS= OPTIONS=-m64 -march=native -mtune=native -std=gnu99 -D_GNU_SOURCE $(SPECIAL_OPTIONS) diff --git a/hyperbolic.c b/hyperbolic.c index b7430a3..b0dee1f 100644 --- a/hyperbolic.c +++ b/hyperbolic.c @@ -8,6 +8,7 @@ #define POINCARE 1 #define LOOP(i) for(int i = 0; i < 3; i++) + void cartan_matrix(gsl_matrix *cartan, double a1, double a2, double a3, double s) { gsl_matrix_set(cartan, 0, 0, -2); @@ -192,7 +193,7 @@ int main() gsl_matrix *frame; workspace_t *ws; int elements = 5000; - int p = 3, q = 5, r = 7; + int p = 3, q = 3, r = 5; group = malloc(elements*sizeof(groupelement_t)); matrices = malloc(elements*sizeof(gsl_matrix*));