-
Notifications
You must be signed in to change notification settings - Fork 610
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
Change max size of DP table #1423
Conversation
⚪
|
⚪
|
@@ -718,7 +718,7 @@ template <int N> std::bitset<N> TDPccpSolver<N>::NextBitset(const std::bitset<N> | |||
return res; | |||
|
|||
// TODO: We can optimize this with a few long integer operations, | |||
// but it will only work for 254 bit bitsets | |||
// but it will only work for 128 bit bitsets |
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.
This is a commented line, any the method below (which is commented out) works only for 64 bits. Can you change this comment back?
⚫ |
⚪
|
⚪
|
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.
Better to define this constant somewhere as a constexpr
Changing default max size of DP table for DPccp algorithm
Also change size of bitset for graph