diff --git a/src/apps/molresponse/response_functions.h b/src/apps/molresponse/response_functions.h index c09039f3187..3b683cca9f8 100644 --- a/src/apps/molresponse/response_functions.h +++ b/src/apps/molresponse/response_functions.h @@ -321,7 +321,7 @@ namespace madness { // Mimicing standard madness calls with these 3 void zero() { auto &world = x[0][0].world(); - for (auto&i:active) { x[i] = zero_functions(world, num_orbitals, false); } + for (int i =0;i(world, num_orbitals, false); } } void compress_rf() {