Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TransitionChoice with repetitions #696

Merged
merged 12 commits into from
May 26, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
jrapin committed May 26, 2020
commit e0676f3567f1ebd9cdc52a43332039967032baa5
2 changes: 1 addition & 1 deletion nevergrad/parametrization/test_parameters_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_instrumentation() -> None:
# check naming
instru_str = ("Instrumentation(Tuple(Scalar[sigma=Log{exp=2.0}],3),"
"Dict(a=TransitionChoice(choices=Tuple(0,1,2,3),"
"position=Array{Cd(0,4)},transitions=[1. 1.]),"
"positions=Array{Cd(0,4)},transitions=[1. 1.]),"
"b=Choice(choices=Tuple(0,1,2,3),weights=Array{(1,4)})))")
testing.printed_assert_equal(instru.name, instru_str)
testing.printed_assert_equal("blublu", instru.set_name("blublu").name)
Expand Down