Skip to content

Commit 0177aa2

Browse files
committed
inferred types issue
1 parent 1fe091b commit 0177aa2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33

44
.vscode
55
test/.vscode
6+
build
7+
.cache

test/inc/zoo/debug/rh/RobinHood.debug.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ auto satisfiesInvariant(const Table &map, std::size_t begin = 0, std::size_t end
8787
for(auto n = Table::MD::NSlots; n--; ) {
8888
auto current = v.at(0);
8989
if(prior + 1 < current) {
90-
return std::tuple(false, swarIndexBegin * Table::MD::NSlots + Table::MD::NSlots - n - 1);
90+
std::size_t index = swarIndexBegin * Table::MD::NSlots + Table::MD::NSlots - n - 1;
91+
return std::tuple(false, index);
9192
}
9293
v = v.shiftLanesRight(1);
9394
prior = current;

0 commit comments

Comments
 (0)