We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 836a0db commit 16aa7c4Copy full SHA for 16aa7c4
src/topologies/halfedge.jl
@@ -255,7 +255,7 @@ function HalfEdgeTopology(elems::AbstractVector{<:Connectivity}; sort=true)
255
halves = Vector{Tuple{HalfEdge,HalfEdge}}()
256
visited = Set{Tuple{Int,Int}}()
257
for (e, inds) in enumerate(adjelems)
258
- inds = REV_DIR[e] ? reverse(inds) : inds
+ inds = REV_DIR[e] ? circshift!(reverse!(inds), 1) : inds
259
n = length(inds)
260
for i in eachindex(inds)
261
vi = inds[i]
0 commit comments