Commit 65fdfb68 authored by Christophe Geuzaine's avatar Christophe Geuzaine

revert to old code for aspect ratio - the new one does not work

parent 9b67c5b0
Pipeline #2261 failed with stage
in 28 minutes 19 seconds
......@@ -294,7 +294,7 @@ HXTStatus hxtLinearSystemLUCreate(HXTLinearSystemLU **pSystem, int nElements, in
}
free(nodeRowStart);
free(nodeRowEnd);
system->M = malloc(sizeof(double)*totalSize, PADDING*8); // FIXME Gmsh instead of _mm_malloc
system->M = malloc(sizeof(double)*totalSize); // FIXME Gmsh instead of _mm_malloc
system->rows = malloc(sizeof(double*)*system->n);
for (int i = 0; i < totalSize; ++i)
system->M[i] = 0;
......@@ -306,7 +306,7 @@ HXTStatus hxtLinearSystemLUCreate(HXTLinearSystemLU **pSystem, int nElements, in
totalSize += system->rowEnd[i]-system->rowStart[i]+(paddedStart-start);
system->rows[i] = system->M + paddedStart;
}
system->x = malloc(sizeof(double)*system->n, PADDING*8); // FIXME Gmsh instead of _mm_malloc
system->x = malloc(sizeof(double)*system->n); // FIXME Gmsh instead of _mm_malloc
return HXT_STATUS_OK;
}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment