From 9fde90edd1d500abcf8ebabf264c775fe582ec94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Wardy=C5=84ski?= <no@email> Date: Mon, 8 Nov 2010 15:02:32 +0100 Subject: [PATCH] Fixing comment on base_apply for Intersects --- libwccl/ops/intersects.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libwccl/ops/intersects.h b/libwccl/ops/intersects.h index 25cc2cb..d7ff5ad 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); -- GitLab