Skip to content

Commit 7334ef9

Browse files
committed
Remove Inference submodule in favor of simpler flat structure
1 parent 3eed0d7 commit 7334ef9

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

src/FreezeCurves.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ export FreezeCurve
1818

1919
function __init__()
2020
@require Turing="fce5fe82-541a-59a6-adf8-730c64b5f9a0" begin
21-
using .Turing
22-
include("Inference/Inference.jl")
21+
using .Turing, .Turing.Distributions
22+
export SFCCModel, sfccpriors
23+
include("inference/inference.jl")
2324
end
2425
# require NonlinearSolve.jl for generic nonlinear solver
2526
@require NonlinearSolve="8913a72c-1f9b-4ce2-8d82-65094dcecaec" begin

src/Inference/Inference.jl renamed to src/inference/inference.jl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
module Inference
2-
3-
using ..FreezeCurves
4-
5-
using ..Turing
6-
using ..Turing.Distributions
7-
8-
export SFCCModel, sfccpriors
9-
101
betaprior(mean, dispersion) = Beta(max(mean*dispersion,1), max((1-mean)*dispersion,1))
112

123
abstract type SFCCLikelihood end
@@ -71,5 +62,3 @@ match the model or submodel variables.
7162
function sfccpriors end
7263

7364
include("models.jl")
74-
75-
end
File renamed without changes.

0 commit comments

Comments
 (0)