From 001c8efa608d8703b0cf97098e80f9c479a10bbb Mon Sep 17 00:00:00 2001 From: Bittens Date: Wed, 13 Dec 2023 13:12:49 +0100 Subject: [PATCH] ins --- src/DistributedSparseGrids.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DistributedSparseGrids.jl b/src/DistributedSparseGrids.jl index 9e6a963..1ae82bf 100644 --- a/src/DistributedSparseGrids.jl +++ b/src/DistributedSparseGrids.jl @@ -587,7 +587,7 @@ function integrate_inplace_ops(wasg::SG,skipdims::Vector{Int}) where {N,RT,CT,CP rpsw = scaling_weight(first(wasg)) set_scaling_weight!(first(asg),zero(rpsw)) for hcpt in wasg - res = one(rpsw) + res = one.(rpsw) for d in dims mul!(res,res,integral_basis_fun(hcpt, d)) end