srenew(hb0->h[0],4+nnframes/hb->wordlen);
srenew(hb0->g[0],4+nnframes/hb->wordlen);
}
- clearPshift(&(hb->per->pHist[a1][a2]));
+ if (NULL != hb->per->pHist)
+ {
+ clearPshift(&(hb->per->pHist[a1][a2]));
+ }
/* Copy temp array to target array */
for(m=0; (m<=nnframes); m++) {
trrStatus = (read_next_x(oenv,status,&t,natoms,x,box));
nframes++; /* + */
} /* + */
-#ifdef HAVE_OPENMP /* ++++++++++++++++� */
+#ifdef HAVE_OPENMP /* +++++++++++++++++ */
#pragma omp barrier
#endif
} while (trrStatus);