fixed sorting

This commit is contained in:
Florian Stecker 2018-07-15 13:39:09 +02:00
parent cece0cf700
commit 5c26fec87d
2 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -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*));