Commit ac1d22a0 authored by frey_m's avatar frey_m
Browse files

add missing ENABLE_AMR

parent fed401f6
......@@ -1911,7 +1911,12 @@ size_t PartBunchBase<T, Dim>::calcMoments() {
std::vector<double> loc_moments(4 * Dim + Dim * ( 2 * Dim + 1 ));
long int totalNum = this->getTotalNum();
if (!Options::amr && OpalData::getInstance()->isInOPALCyclMode()) {
if (
#ifdef ENABLE_AMR
!Options::amr &&
#endif
OpalData::getInstance()->isInOPALCyclMode())
{
/* FIXME After issue 287 is resolved this shouldn't be necessary
* anymore
*/
......
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