recover compilation for platforms using malloc() instead of posix_memalign()

This commit is contained in:
Axel Kohlmeyer 2020-09-08 15:36:21 -04:00
parent 7a9d31328e
commit 9e47452382
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 0 additions and 1 deletions

View File

@ -180,7 +180,6 @@ void MyPoolChunk<T>::allocate(int ibin) {
pages[i] = (T *) ptr;
#else
pages[i] = (T *) malloc(chunkperpage*chunksize[ibin]*sizeof(T));
size += chunkperpage*chunksize[ibin];
if (!pages[i]) errorflag = 2;
#endif
}