From e279aa6862415987776722a9a2d2e4a3d74637a8 Mon Sep 17 00:00:00 2001 From: Hong Ge Date: Tue, 30 Apr 2019 15:34:37 +0100 Subject: [PATCH] Disable stan interface temporarily before fixing #746 --- src/Turing.jl | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/Turing.jl b/src/Turing.jl index 5e7747ab0..cec2d0dc6 100644 --- a/src/Turing.jl +++ b/src/Turing.jl @@ -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