diff --git a/src/models/SAFT/SAFTgammaMie/SAFTgammaMie.jl b/src/models/SAFT/SAFTgammaMie/SAFTgammaMie.jl index 5237e63c5..53d67d3e4 100644 --- a/src/models/SAFT/SAFTgammaMie/SAFTgammaMie.jl +++ b/src/models/SAFT/SAFTgammaMie/SAFTgammaMie.jl @@ -118,8 +118,8 @@ function SAFTgammaMie(components; comp_sites,idx_dict = gc_to_comp_sites(sites,groups) assoc_idx = gc_to_comp_assoc_idx(gc_bondvol,comp_sites,idx_dict) assoc_idxs,outer,inner,outer_size,inner_size = assoc_idx.values,assoc_idx.outer_indices,assoc_idx.inner_indices,assoc_idx.outer_size,assoc_idx.inner_size - _comp_bondvol = [gc_bondvol.values.values[i] for i ∈ assoc_idxs] - _comp_epsilon_assoc = [gc_epsilon_assoc.values.values[i] for i ∈ assoc_idxs] + _comp_bondvol = Float64[gc_bondvol.values.values[i] for i ∈ assoc_idxs] + _comp_epsilon_assoc = Float64[gc_epsilon_assoc.values.values[i] for i ∈ assoc_idxs] compval_bondvol = Compressed4DMatrix(_comp_bondvol,outer,inner,outer_size,inner_size) compval_epsilon_assoc = Compressed4DMatrix(_comp_epsilon_assoc,outer,inner,outer_size,inner_size) comp_bondvol = AssocParam{Float64}("epsilon assoc",components,compval_bondvol,comp_sites.sites,String[],String[])