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

Minor fix for printing #172

Merged
merged 3 commits into from
Sep 3, 2019

Conversation

kjulian3
Copy link
Collaborator

@kjulian3 kjulian3 commented Sep 2, 2019

This is really two very simple PRs merged into one, so I can split this up if needed.

There's a place in Engine.cpp that doesn't check _verbosity before printing, which is fixed here.

Also, maraboupy's function for evaluating a network at a point always prints a line that is not useful because it just tells the user that they called the function. When evaluating many points with maraboupy, this can result in a lot of print statements, so I think it's best to remove the print statement.

src/engine/Engine.cpp Outdated Show resolved Hide resolved
@kjulian3 kjulian3 merged commit 9ee7c8a into NeuralNetworkVerification:master Sep 3, 2019
@kjulian3 kjulian3 deleted the fix_printing branch September 3, 2019 19:48
matanost pushed a commit that referenced this pull request Nov 2, 2021
* Remove unneeded printing from maraboupy

* Check verbosity before printing

* Adding space
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