-
Notifications
You must be signed in to change notification settings - Fork 795
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
testSymbolicFactorGraph unit test failure #181
Comments
Interesting: I did encounter this before; it looks like it is only the order of the cliques that does not match, which is probably non-determinism in std::map? |
Hmm... I'm almost sure it must be related with an overflow in 32bit integers in the symbolic names macros. Will nail it down... |
Ok, here's the problem:
Using a TBB hash-based index makes the order of nodes in a
They use size_t, which is not portable across architectures. There are few good solutions I can see... The only way I could fix this is by changing keyBits here:
which effectively halves the number of possible Key values, wasting half of the Key 64bit space... What do you think, @dellaert ? |
Good find! |
That is the best option. |
As part of debugging #168, I found a new issue running the unit tests for i386 (for some reason it works right on amd64):
@dellaert Any idea where to start looking at to debug?
The text was updated successfully, but these errors were encountered: