diff --git a/src/cpp/query_engine/DASNode.cc b/src/cpp/query_engine/DASNode.cc index c05766d..c77ca6a 100644 --- a/src/cpp/query_engine/DASNode.cc +++ b/src/cpp/query_engine/DASNode.cc @@ -601,7 +601,8 @@ void PatternMatchingQuery::act(shared_ptr node) { vector> query_answer_processors; if (this->command == DASNode::PATTERN_MATCHING_QUERY) { query_answer_processors.push_back(make_unique(local_id, remote_id)); - query_answer_processors.push_back(make_unique(this->context)); + if (this->update_attention_broker) + query_answer_processors.push_back(make_unique(this->context)); } else if (this->command == DASNode::COUNTING_QUERY) { query_answer_processors.push_back(make_unique(local_id, remote_id)); }