Skip to content

Commit 3f09d27

Browse files
authored
Remove requires (#35)
* Update Project.toml * Update SliceSamplingTuringExt.jl * Update SliceSamplingTuringExt.jl
1 parent 1fcd16e commit 3f09d27

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
88
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
99
LogDensityProblems = "6fdf6af0-433a-55f7-b3ed-c6c6e0b8df7c"
1010
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
11-
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
1211

1312
[weakdeps]
1413
Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"

ext/SliceSamplingTuringExt.jl

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11

22
module SliceSamplingTuringExt
33

4-
if isdefined(Base, :get_extension)
5-
using Random
6-
using SliceSampling
7-
using Turing
8-
else
9-
using ..Random
10-
using ..SliceSampling
11-
using ..Turing
12-
end
4+
using Random
5+
using SliceSampling
6+
using Turing
137

148
# Required for using the slice samplers as `externalsampler`s in Turing
159
# begin

0 commit comments

Comments
 (0)