Skip to content

Conversation

@Gabriel-in-Toronto
Copy link

PR for closing Issue #202

vector<int> unscrew(num_vars);
assert(var_fixed_unscrewed.size() == num_vars);
assert(num_fixed < num_vars);
iszero(var_fixed_unscrewed.size() == num_vars);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be a source of problems. Better to change this to minorminer_assert

virtual ~LocalInteraction() {}
//! Print a message through the local output method
void displayOutput(int loglevel, const string& msg) const { displayOutputImpl(loglevel, msg); }
void displayOutput(int loglevel, const string& msg) const { displayOutputImpl(msg); }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not remove loglevel from these functions, as it's used elsewhere in the library. It would be better to add this parameter into the MyCppInteractions overrides and ignore it there.

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

Successfully merging this pull request may close these issues.

2 participants