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

fix for removing preconstraints which were also constraints added during tracing #18

Merged
merged 1 commit into from
Mar 10, 2017

Conversation

salls
Copy link
Member

@salls salls commented Mar 10, 2017

No description provided.

tracer/tracer.py Outdated
@@ -588,7 +587,12 @@ def remove_preconstraints(self, path, to_composite_solver=True, simplify=True):
for con in self.preconstraints:
precon_cache_keys.add(con.cache_key)

new_constraints = filter(lambda x: x.cache_key not in precon_cache_keys, path.state.se.constraints)
# if we used the repacement solver we didn't add constraints we need to remove so keep all constraints
Copy link
Member

Choose a reason for hiding this comment

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

"repacement" solver?

Copy link
Member Author

Choose a reason for hiding this comment

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

hmmm replacement frontend

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh I see I'm missing an "L"

Copy link
Member

Choose a reason for hiding this comment

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

:D

pylint should also do a spelling check for us!

@salls salls force-pushed the fix/driller_invalid_inputs branch from 0b8f64d to bd80b09 Compare March 10, 2017 21:59
@salls salls merged commit 7a12895 into master Mar 10, 2017
@rhelmot rhelmot deleted the fix/driller_invalid_inputs branch October 19, 2018 04:56
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.

None yet

2 participants