Skip to content
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

Expression: invalid comparator in Windows Debug Build #11

Open
riggskevinp opened this issue Mar 22, 2023 · 0 comments
Open

Expression: invalid comparator in Windows Debug Build #11

riggskevinp opened this issue Mar 22, 2023 · 0 comments

Comments

@riggskevinp
Copy link

This comparator looks correct to me but msvc, in debug, seems to find an edge case, no pun intended.

Incident_Edge_Compare(const Point &observer,

"Debug Assertion Failed! 
File: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility
Line: 1459 Expression: invalid comparator"

Playing around with different floating point comparison techniques didn't yield any results. I'll probably try updating to a newer version of of msvc and see if the same issue persists.
I found a closed issue from 2018 that fixed something similar: https://developercommunity.visualstudio.com/t/expression-invalid-comparator/280935

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant