From 7a7c287a0ad1e88dcdb8e41762d9dd31023252c8 Mon Sep 17 00:00:00 2001 From: Stefano Chiesa Date: Thu, 22 Sep 2016 17:38:26 -0700 Subject: [PATCH] Fix drop rate search for worst of n Change-Id: Ie98ab1095dedb4c24dbd44f64d3781934f664561 Signed-off-by: Stefano Chiesa --- resources/libraries/python/DropRateSearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/libraries/python/DropRateSearch.py b/resources/libraries/python/DropRateSearch.py index 6346125592..aead532da0 100644 --- a/resources/libraries/python/DropRateSearch.py +++ b/resources/libraries/python/DropRateSearch.py @@ -355,7 +355,7 @@ class DropRateSearch(object): :rtype: boolean """ # Return False if not all elements of the iterable are True. - return not all(res_list) + return all(res_list) def _get_res_based_on_search_type(self, res_list): """Return result of search based on search evaluation type. -- 2.16.6