Skip to content

Commit

Permalink
Merge pull request #4 from j-fu/jf/relax-types
Browse files Browse the repository at this point in the history
Relax types in call: allow to pass tuples to avoid allocations
  • Loading branch information
chmerdon authored Oct 18, 2024
2 parents e5fc459 + da992ee commit 5dc7a0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/segment_integrator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ function initialize!(O::SegmentIntegrator{T, UT}, sol; time = 0, kwargs...) wher
end
function integrator!(
result::AbstractArray{Tv, 1},
w::Array{Array{Tv, 1}, 1}, # world coordinates
b::Array{Array{Tv, 1}, 1}, # barycentric coordinates (w.r.t. item geometry)
w,#::Array{Array{Tv, 1}, 1}, # world coordinates
b,#::Array{Array{Tv, 1}, 1}, # barycentric coordinates (w.r.t. item geometry)
item, # cell in which the segment lies (completely)
) where {Tv}

Expand Down

0 comments on commit 5dc7a0d

Please sign in to comment.