Skip to content

Commit

Permalink
Compat bound
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed Nov 12, 2022
1 parent cb85fb7 commit 3fa64ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999"

[compat]
ChainRulesCore = "1.0"
Compat = "4.2"
DataAPI = "1.0"
DelimitedFiles = "1.0"
FLoops = "0.2"
Expand Down
9 changes: 3 additions & 6 deletions src/MLUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ import NNlib

@traitdef IsTable{X}
@traitimpl IsTable{X} <- Tables.istable(X)

if VERSION < v"1.9.0-DEV.1163"
import Compat: stack
else
import Base: stack
end

using Compat: stack

include("observation.jl")
export numobs,
getobs,
Expand Down

0 comments on commit 3fa64ee

Please sign in to comment.