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

Close Issue #202 #204

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Gabriel-in-Toronto
Copy link

PR for closing Issue #202

@@ -85,8 +85,8 @@ class parameter_processor {

vector<int> _filter_fixed_vars() {
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

@@ -94,10 +94,10 @@ class LocalInteraction {
public:
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