Skip to content

Commit

Permalink
Disable stan interface temporarily before fixing #746
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai committed Apr 30, 2019
1 parent 46696f9 commit e279aa6
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/Turing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,15 @@ using .Core
include("inference/Inference.jl") # inference algorithms
using .Inference

@init @require CmdStan="593b3428-ca2f-500c-ae53-031589ec8ddd" @eval begin
@eval Utilities begin
using ..Turing.CmdStan: CmdStan, Adapt, Hmc
using ..Turing: HMC, HMCDA, NUTS
include("utilities/stan-interface.jl")
end
end
# TODO: re-design `sample` interface in MCMCChains, which unify CmdStan and Turing.
# Related: https://github.com/TuringLang/Turing.jl/issues/746
#@init @require CmdStan="593b3428-ca2f-500c-ae53-031589ec8ddd" @eval begin
# @eval Utilities begin
# using ..Turing.CmdStan: CmdStan, Adapt, Hmc
# using ..Turing: HMC, HMCDA, NUTS
# include("utilities/stan-interface.jl")
# end
# end

@init @require LogDensityProblems="6fdf6af0-433a-55f7-b3ed-c6c6e0b8df7c" @eval Inference begin
using ..Turing.LogDensityProblems: LogDensityProblems, AbstractLogDensityProblem, ValueGradient
Expand Down

0 comments on commit e279aa6

Please sign in to comment.