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

feat: Require Clone instead of Copy in ConvexChecker, add Copy to filters #104

Merged
merged 3 commits into from
Aug 22, 2023

Conversation

aborgna-q
Copy link
Collaborator

So we can use the convex checker with non-trivial graph references.

I added a Copy derive to the graph filters as a drive-by, but it depends on their context being Copy.

@aborgna-q
Copy link
Collaborator Author

Looks like Subgraph also requires a reference since it's based on a filtered view. That will require some larger changes.

Copy link
Contributor

@lmondada lmondada left a comment

Choose a reason for hiding this comment

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

Thanks!

@aborgna-q aborgna-q added this pull request to the merge queue Aug 22, 2023
Merged via the queue into main with commit efd6970 Aug 22, 2023
@aborgna-q aborgna-q deleted the fix/convex-copy-req branch August 22, 2023 18:00
github-merge-queue bot pushed a commit that referenced this pull request Sep 5, 2023
Follow-up for #104.

Instead of requiring `&G` in the graph filters we just use `G: Clone`,
so other things like `G: AsRef<PortGraph>` can be used as base.
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