Skip to content

Commit

Permalink
fix: jet error
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Dec 29, 2024
1 parent 0a58f5e commit 415fc5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TemplateExpression.jl
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ function MF.mutate_constant(
else # Mutate parameters

# We mutate between 1 and all of the parameter vector
num_params = get_metadata(ex).structure.num_parameters
num_params = get_metadata(ex).structure.num_parameters::Integer
num_params_to_mutate = rand(rng, 1:num_params)

idx_to_mutate = StatsBase.sample(
Expand Down

0 comments on commit 415fc5c

Please sign in to comment.