Commit c75a6722 authored by kraus's avatar kraus

fixing restart in ParallelSliceTracker

parent b4728120
......@@ -1008,7 +1008,7 @@ void Distribution::DoRestartOpalE(EnvelopeBunch &beam, size_t Np, int restartSte
COMPLAINONFAILURE(H5PartSetView(H5file, starti, endi));
N = (int)H5PartGetNumParticles(H5file);
assert(N >= 0 && (unsigned int) N != beam.numMySlices());
assert(N >= 0 && (unsigned int) N == beam.numMySlices());
double actualT;
COMPLAINONFAILURE(H5ReadStepAttribFloat64(H5file, "TIME", &actualT));
......
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