-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[hist] Fix assertion failure (invalid comparator) #17211
base: master
Are you sure you want to change the base?
Conversation
Fix the following error (visible with the `/RTC1` flag on Windows) ``` libHist: Debug Assertion Failed! Expression: invalid comparator ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If/Since this changes are needed we also need to update the function documentations and enhance the commit message to point/hint to the part of the standard indicating whether the comparators should strict (existing code) or not (this PR).
You mean this: https://en.cppreference.com/w/cpp/named_req/Compare |
Yes something like that .. except that I am reading it as asking for strict comparison ... |
Test Results 18 files 18 suites 3d 23h 53m 13s ⏱️ For more details on these failures, see this check. Results for commit 9f6c498. ♻️ This comment has been updated with latest results. |
Yes, I know, but the original code is from 2003 (see the commit here and was not using |
Fix the following error (visible with the
/RTC1
flag on Windows)