diff --git a/Src/Adaptive/new/FAdaptiveSequential.hpp b/Src/Adaptive/new/FAdaptiveSequential.hpp index 320872a15f743ab6cf876ce442b3e60154a2aae7..319c59c4f222a466cb66d5355f9ca963601980b7 100644 --- a/Src/Adaptive/new/FAdaptiveSequential.hpp +++ b/Src/Adaptive/new/FAdaptiveSequential.hpp @@ -57,11 +57,11 @@ public: FAdaptiveSequential(*tree, *kernel) {} - void execute(FFmmOperations operations = FFmmNearAndFarFields) { + void execute(int operations = FFmmNearAndFarFields) { this->run(operations); } - void run(FFmmOperations operations = FFmmNearAndFarFields) { + void run(int operations = FFmmNearAndFarFields) { this->setup_kernel(); @@ -107,7 +107,7 @@ public: std::cout << " M2P: " << timer.last().count() << "s" << std::endl; } - if(operations & FFmmL2L) { + if(operations & FFmmL2P) { // 5b down to target, L2P auto D2T = std::bind(&FAdaptiveSequential::down_to_target, this); timer.time(D2T);