Skip to content

Commit

Permalink
Always start from dev
Browse files Browse the repository at this point in the history
  • Loading branch information
VarLad authored and Azzaare committed Jun 13, 2024
1 parent 3d45acc commit 6fc9f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ function generate_parameters(d, ::Val{:vals})
end
Base.rand(d::ValsParameterDomain) = map(rand, d.vals)

generate_parameters(d, param) = generate_parameters(d, Val(param))
generate_parameters(d, param::Symbol) = generate_parameters(d, Val(param))

"""
generate_parameters(d<:AbstractDomain, param)
Generates random parameters based on the domain `d` and the kind of parameters `param`.
"""
generate_parameters(d::AbstractDomain, param) = generate_parameters([d], param)
generate_parameters(d::AbstractDomain, param::Symbol) = generate_parameters([d], param)

"""
Base.rand(fa::FakeAutomaton)
Expand Down

0 comments on commit 6fc9f5c

Please sign in to comment.