Skip to content

Commit

Permalink
add Nothing back into the union
Browse files Browse the repository at this point in the history
  • Loading branch information
Moelf committed Nov 5, 2023
1 parent 8c0e369 commit dc29c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dmatrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ function _unsafe_dataiter_reset(ptr::Ptr)
end

function _dmatrix_caching_config_json(;cache_prefix::AbstractString,
nthreads::Integer,
nthreads::Union{Integer, Nothing}
missing_value::Float32=NaN32,
)
d = Dict("missing"=>"__NAN_STR__",
Expand Down

0 comments on commit dc29c70

Please sign in to comment.