[go: nahoru, domu]

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

Assertion `empty(s1 & map.getIndexSet())' failed. #50

Closed
alphacristi opened this issue Mar 22, 2015 · 2 comments
Closed

Assertion `empty(s1 & map.getIndexSet())' failed. #50

alphacristi opened this issue Mar 22, 2015 · 2 comments

Comments

@alphacristi
Copy link

When i am trying to multiply and add some ciphertexts i get this error :

DoubleCRT.cpp:269: double DoubleCRT::addPrimesAndScale(const IndexSet&): Assertion `empty(s1 & map.getIndexSet())' failed.

Anyone knows what could be the problem ?
Thank you.

@TomMD
Copy link
Contributor
TomMD commented Mar 22, 2015

These sorts of problems are easier to debug when you post your actual code. Also, if you think the issue is your own and not a library bug the the issue tracker is not the best solution - consider using a programmer site such as stackoverflow.

All that said, are you using *= when you should probably be using multiplyBy?

@alphacristi
Copy link
Author

I think that's the problem, using *= instead of multiplyBy.
Thanks.

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

2 participants