Skip to content

Commit

Permalink
🔧 Julia 1.10 did not feature filter(!f, v).
Browse files Browse the repository at this point in the history
  • Loading branch information
iago-lito committed Dec 20, 2024
1 parent aa90ee3 commit b834702
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function fields_from_multiplex_parms(int::Symbol, d::MultiplexParametersDict)
C = get(d, :C, nothing),
symmetry = get(d, :sym, multiplex_defaults[:s][int]),
)
RandomTopology(; filter(!isnothing, kw)...)
RandomTopology(; filter(v -> !isnothing(v), kw)...)
end,
Intensity(get(d, :intensity, multiplex_defaults[:I][int])),
]
Expand Down

0 comments on commit b834702

Please sign in to comment.