Unverified Commit 9e474523 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

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

parent 7a9d3132
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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
  }