Skip to content

Commit

Permalink
bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcwitt committed Nov 3, 2023
1 parent cd91b19 commit e7b670e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/assemble.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ function assemble_weights(data::AbstractVector{<:AbstractData})
W = SharedArray(zeros(rows[end][end]))
@showprogress pmap(packets) do p
W[p.rows] .= weight_vector(p.data)
next!(progress)
GC.gc()
end
return Array(W)
Expand Down Expand Up @@ -235,4 +234,4 @@ function assemble_weights_new(data::AbstractArray; kwargs...)
ACEfit.weight_vector(d; kwargs...)
end
return reduce(vcat, w)
end
end

0 comments on commit e7b670e

Please sign in to comment.