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
While rebuilding I just noticed this warning - based on GCC 9.4.0 idx seems to be unsigned (and the getIndex function at the top also seems to return an unsigned). Not sure what's the original intention, so just creating an issue.
The text was updated successfully, but these errors were encountered:
tgymnich
changed the title
comparigned unsigned to -2
comparing unsigned to -2
Feb 15, 2024
So this is an intentional sentinal, that we should probably change to a large unsigned value.
Specifically this value is used if there's an error in the indexing, such that the rest of compilation will succeed (and still have that error print, but not assertion internally).
Enzyme/enzyme/Enzyme/AdjointGenerator.h
Line 6144 in bd36bae
While rebuilding I just noticed this warning - based on GCC 9.4.0 idx seems to be unsigned (and the getIndex function at the top also seems to return an unsigned). Not sure what's the original intention, so just creating an issue.
The text was updated successfully, but these errors were encountered: