You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ha, you are of course correct, this is a bug. It seems whenever I don't have a test for something I'll do it wrong. I'll create a new release with the fix.
Describe the bug
erase_if
returnscurrent_size - old_size
which is a negative value that is cast to an unsignedsize_t
on return.unordered_dense/include/ankerl/unordered_dense.h
Line 1910 in fefa511
To Reproduce
Steps to reproduce the behavior:
erase_if
Expected behavior
erase_if
should returnold_size - current_size
, notcurrent_size - old_size
System (please complete the following information):
Additional context
None.
The text was updated successfully, but these errors were encountered: