Skip to content

Commit

Permalink
Merge pull request #451 from alan-turing-institute/dev
Browse files Browse the repository at this point in the history
For a 0.15.6 release
  • Loading branch information
ablaom authored Nov 16, 2020
2 parents 412e24e + fba6957 commit f789d81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MLJBase"
uuid = "a7f614a8-145f-11e9-1d2a-a57a1082229d"
authors = ["Anthony D. Blaom <[email protected]>"]
version = "0.15.5"
version = "0.15.6"

[deps]
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
Expand Down Expand Up @@ -33,7 +33,7 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
CategoricalArrays = "^0.8.1"
ComputationalResources = "^0.3"
Distributions = "0.22, 0.23, 0.24"
HTTP = "^0.8"
HTTP = "^0.8, 0.9"
InvertedIndices = "^1"
JLSO = "^2.1,^2.2"
JSON = "^0.21"
Expand All @@ -43,7 +43,7 @@ MLJScientificTypes = "^0.3"
Missings = "^0.4"
OrderedCollections = "^1.1"
Parameters = "^0.12"
PrettyTables = "^0.8,^0.9"
PrettyTables = "^0.8,^0.9, 0.10"
ProgressMeter = "^1.3"
StatsBase = "^0.32,^0.33"
Tables = "^0.2,^1.0"
Expand Down
2 changes: 1 addition & 1 deletion src/hyperparam/one_dimensional_ranges.jl
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ nominal_range(T, field, ::Nothing) = throw(ArgumentError(
"the example, "*
"`range(Int, :dummy, lower=1, upper=10)`. " ))

function nominal_range(::Type{T}, field, values::AbstractVector{T}) where T
function nominal_range(::Type{T}, field, values::AbstractVector{<:T}) where T
return NominalRange{T,length(values)}(field, Tuple(values))
end

Expand Down
2 changes: 1 addition & 1 deletion src/machines.jl
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ function fit_only!(mach::Machine; rows=nothing, verbosity=1, force=false)
@info "Running type checks... "
check(mach.model, source.(raw_args)... ; full=true) &&
@info "Type checks okay. "
rethrow(exception)
rethrow()
end
elseif mach.model != mach.old_model
# update the model:
Expand Down

0 comments on commit f789d81

Please sign in to comment.