diff --git a/libwccl/ops/intersects.h b/libwccl/ops/intersects.h index 25cc2cb662ed08116bcf390d7129c9d9550e34e3..d7ff5ad3961cbefdbb1f903ab303b78c2ebe7caa 100644 --- a/libwccl/ops/intersects.h +++ b/libwccl/ops/intersects.h @@ -36,10 +36,8 @@ protected: typedef typename SetPredicate<T>::BaseRetValPtr BaseRetValPtr; /** - * Take value of possible subset in question. If it is an empty set, return False. - * Otherwise, take value of the set that is being compared to. - * Return True if the possible subset is indeed a subset of the compared set, - * otherwise return False. + * Take values for both sets and return True if they intersect, + * False otherwise. */ virtual BaseRetValPtr apply_internal(const SentenceContext& context) const { boost::shared_ptr<T> set1 = this->set1_expr_->apply(context);