-
Notifications
You must be signed in to change notification settings - Fork 133
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
AlgebraicGeometry: added graph_curve(::Graph) #4452
base: master
Are you sure you want to change the base?
Conversation
8477178
to
181aca5
Compare
I've rebased the changes now that #4450 is merged. @benlorenz: I also had to add an
Let me know if there are any objections. (I normally try to have separate pull-requests for separate areas, but was too lazy to make this one-line change) |
Adding keys would imply that julia> eit = edges(g)
Oscar.EdgeIterator(Polymake.LibPolymake.GraphEdgeIteratorAllocated{Undirected}(Ptr{Nothing} @0x000000003f407670), 6)
julia> length(eit)
6
julia> iterate(eit)
(Edge(2, 1), 2)
julia> iterate(eit)
(Edge(3, 1), 2)
julia> length(eit)
4
julia> collect(eit)
4-element Vector{Edge}:
Edge(3, 2)
Edge(4, 1)
Edge(4, 2)
Edge(4, 3) |
Okay, I will remove |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4452 +/- ##
=======================================
Coverage 84.41% 84.41%
=======================================
Files 668 669 +1
Lines 88441 88457 +16
=======================================
+ Hits 74656 74672 +16
Misses 13785 13785
|
The final pull request of the Durham Workshop. Requires #4450, so I will rebase + undraft it once #4450 is merged.