Skip to content

Commit

Permalink
fixed 1D initmesh bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chakravala committed Aug 2, 2020
1 parent 3feecd4 commit 7e9332d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composite.jl
Expand Up @@ -477,7 +477,7 @@ function initedges(r::R) where R<:AbstractVector
end
function initmesh(r::R) where R<:AbstractVector
t = initedges(r); p = points(t)
p,ChainBundle(Chain{↓(p),1}.([(1,),(length(p),)])),t
p,ChainBundle(Chain{↓(p),1}.([1,length(p)])),t
end

select(η,ϵ=sqrt(norm(η)^2/length(η))) = sort!(findall(x->x>ϵ,η))
Expand Down

0 comments on commit 7e9332d

Please sign in to comment.