From 01eafd135678725fc089a8020d9f81c534f539ed Mon Sep 17 00:00:00 2001 From: Marcin Masternak Date: Tue, 2 Feb 2016 11:41:54 +0100 Subject: [PATCH] [prediction] for brackets {} convention apply. Change-Id: I0f29bfabf91155c1d2bed493f9886e9074c2fc3e Signed-off-by: Marcin Masternak --- src/statistics/prediction/item_set.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/statistics/prediction/item_set.cpp b/src/statistics/prediction/item_set.cpp index c8dc55b..dccee66 100644 --- a/src/statistics/prediction/item_set.cpp +++ b/src/statistics/prediction/item_set.cpp @@ -33,8 +33,9 @@ std::ostream& ctx::operator<<(std::ostream& out, const ctx::ItemSet& itemSet) bool ctx::itemset_includes_in(const ctx::ItemSet& small, const ctx::ItemSet& big) { - for (const Item& s : small) + for (const Item& s : small) { if (std::find(big.begin(), big.end(), s) == big.end()) return false; + } return true; } -- 2.7.4