Fixed benchmark bug in profile.

This commit is contained in:
Kruno Tomola Fabro 2016-08-25 11:39:25 +01:00
parent e2212d57a5
commit 23c9ae2026
2 changed files with 4 additions and 4 deletions

View File

@ -305,7 +305,7 @@ endif()
# release flags
set(CMAKE_CXX_FLAGS_RELEASE
"${CMAKE_CXX_FLAGS_RELEASE} -march=native -Wall")
"${CMAKE_CXX_FLAGS_RELEASE} -Wall")
# -- configure defines -- default is ON | true | enabled ----------------------
# -- logging ------------------------------------------------------------------

View File

@ -370,9 +370,9 @@ int main(int argc, char **argv)
iter::for_all_fill(
t.label_find_or_create("Company").index->for_range_exact(t),
[&](auto v) {
if (i < n) {
// if (i < n) {
coll.push_back(make_pair(v, query(t, v.id())));
}
// }
i++;
});
n = i;