Skip to content

Commit 396be69

Browse files
committed
Rel 4.8.0 - Added Optim to Turing extensions
1 parent e24a2bf commit 396be69

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/CI.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
pull_request:
88

99
env:
10-
JULIA_CMDSTAN_HOME: "/home/worker/cmdstan-2.33.1/"
10+
JULIA_CMDSTAN_HOME: "/home/worker/cmdstan-2.34.0/"
1111

1212
jobs:
1313
test:
@@ -41,13 +41,13 @@ jobs:
4141
OLDWD=`pwd`
4242
cd ~
4343
pwd
44-
wget https://github.com/stan-dev/cmdstan/releases/download/v2.33.1/cmdstan-2.33.1.tar.gz
45-
tar -xzpf cmdstan-2.33.1.tar.gz
44+
wget https://github.com/stan-dev/cmdstan/releases/download/v2.34.0/cmdstan-2.34.0.tar.gz
45+
tar -xzpf cmdstan-2.34.0.tar.gz
4646
ls -lia .
4747
make -C $JULIA_CMDSTAN_HOME build
4848
cd $OLDWD
4949
env:
50-
JULIA_CMDSTAN_HOME: "/home/runner/cmdstan-2.33.1/"
50+
JULIA_CMDSTAN_HOME: "/home/runner/cmdstan-2.34.0/"
5151
- uses: actions/checkout@v2
5252
- uses: julia-actions/setup-julia@v1
5353
with:
@@ -66,7 +66,7 @@ jobs:
6666
- uses: julia-actions/julia-buildpkg@latest
6767
- uses: julia-actions/julia-runtest@latest
6868
env:
69-
JULIA_CMDSTAN_HOME: "/home/runner/cmdstan-2.33.1/"
69+
JULIA_CMDSTAN_HOME: "/home/runner/cmdstan-2.34.0/"
7070
- uses: julia-actions/julia-processcoverage@v1
7171
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
7272
- uses: codecov/codecov-action@v1

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "StatisticalRethinking"
22
uuid = "2d09df54-9d0f-5258-8220-54c2a3d4fbee"
3-
version = "4.7.4"
3+
version = "4.8.0"
44

55
[deps]
66
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"

src/require/turing/turing_optim_sample.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import StatsBase: sample
2-
import .Turing: ModeResult
2+
using Optim
3+
import .TuringOptimExt: ModeResult
34
import LinearAlgebra: Symmetric
45

56
"""

0 commit comments

Comments
 (0)