Skip to content

Commit

Permalink
ins
Browse files Browse the repository at this point in the history
  • Loading branch information
Bittens authored and Bittens committed Sep 23, 2023
1 parent 4529331 commit 18c217b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AdaptiveSparseGrids/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ end
function average_scaling_weight(asg::AHSG{N,HCP},lvl::Int) where {N,CT,CP<:AbstractCollocationPoint{N,CT},HCP<:AbstractHierarchicalCollocationPoint{N,CP}}
avg_val = similar(scaling_weight(first(asg)))
tmp = similar(scaling_weight(first(asg)))
fill!(avg_val, 0.0)
n = 0
for cpts in asg
if level(cpts) == lvl
Expand Down

0 comments on commit 18c217b

Please sign in to comment.