Skip to content

Commit

Permalink
chore: bump version to 0.7.0 (#202)
Browse files Browse the repository at this point in the history
* chore: bump version to 0.7.0

* fix: workaround for mlr3tuning 0.15.0
  • Loading branch information
be-marc authored Nov 5, 2022
1 parent 04ce76a commit fa6e5b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: bbotk
Title: Black-Box Optimization Toolkit
Version: 0.6.0.9000
Version: 0.7.0
Authors@R:
c(person(given = "Marc",
family = "Becker",
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# bbotk 0.6.0.9000
# bbotk 0.7.0

* fix: `Terminator$format(with_params = TRUE)` printed an empty list when no parameter was set.
* refactor: `OptimizerIrace` automatically added the `instances` parameter to `Objective$constants`.
Expand Down
2 changes: 2 additions & 0 deletions R/OptimizerIrace.R
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ target_runner_default = function(experiment, exec.target.runner, scenario, targe

paradox_to_irace = function(param_set, digits) {
assertClass(param_set, "ParamSet")
# workaround for mlr3tuning 0.15.0
digits = assert_int(digits %??% 15, lower = 0)
if ("ParamUty" %in% param_set$class) stop("<ParamUty> not supported by <OptimizerIrace>")

# types
Expand Down

0 comments on commit fa6e5b1

Please sign in to comment.