-
Notifications
You must be signed in to change notification settings - Fork 10
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
Code smell in DefaultSolver#fixContradiction #251
Comments
I cannot fully follow this analysis. Yes, the last return statement of Together with the information that |
Thank you, I have realized that part of my issue description is incorrect. The correct issue description is as follows:
I like your proposal to change the method to return a |
While doing those changes I noticed other stuff that should be cleaned up, though. For example, it seems to not be fully documented that the Furthermore, the |
DefaultSolver#fixContradiction
returnsconflictAnalysisResult.learnedNoGood
, which, however, must always benull
. The caller,DefaultSolver#ingest
, then checks if the returned value is not null (which can never be the case). Something is not right here!The text was updated successfully, but these errors were encountered: