Skip to content

Commit

Permalink
ci: skip known coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Dec 26, 2024
1 parent 307c37e commit 787b6b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/TemplateExpression.jl
Original file line number Diff line number Diff line change
Expand Up @@ -466,11 +466,13 @@ function EB.extra_init_params(
parameters = if num_parameters === nothing
nothing
else
# COV_EXCL_START
if prototype === nothing
ParamVector(randn(T, (num_parameters,)))
else
copy(get_metadata(prototype).parameters::ParamVector)
end
# COV_EXCL_STOP
end
# We also need to include the operators here to be consistent with `create_expression`.
return (; options.operators, options.expression_options..., parameters)
Expand Down

0 comments on commit 787b6b6

Please sign in to comment.