Skip to content

Commit

Permalink
Rel 1.5.3 - Pkg & cmdstan updates
Browse files Browse the repository at this point in the history
  • Loading branch information
goedman committed Dec 10, 2023
1 parent fad6f36 commit dfec2a2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

env:
JULIA_CMDSTAN_HOME: "/home/worker/cmdstan-2.31.0/"
JULIA_CMDSTAN_HOME: "/home/worker/cmdstan-2.33.1/"

jobs:
test:
Expand All @@ -17,7 +17,7 @@ jobs:
matrix:
version:
- '1'
- nightly
#- nightly
os:
- ubuntu-latest
#- macOS-latest
Expand All @@ -41,18 +41,18 @@ jobs:
OLDWD=`pwd`
cd ~
pwd
wget https://github.com/stan-dev/cmdstan/releases/download/v2.31.0/cmdstan-2.31.0.tar.gz
tar -xzpf cmdstan-2.31.0.tar.gz
wget https://github.com/stan-dev/cmdstan/releases/download/v2.33.1/cmdstan-2.33.1.tar.gz
tar -xzpf cmdstan-2.33.1.tar.gz
ls -lia .
ls -lia ./cmdstan-2.31.0
ls -lia ./cmdstan-2.31.0/make
touch ./cmdstan-2.31.0/make/local
echo "STAN_THREADS=true" > ./cmdstan-2.31.0/make/local
cat ./cmdstan-2.31.0/make/local
ls -lia ./cmdstan-2.33.1
ls -lia ./cmdstan-2.33.1/make
touch ./cmdstan-2.33.1/make/local
echo "STAN_THREADS=true" > ./cmdstan-2.33.1/make/local
cat ./cmdstan-2.33.1/make/local
make -C $JULIA_CMDSTAN_HOME build
cd $OLDWD
env:
JULIA_CMDSTAN_HOME: "/home/runner/cmdstan-2.31.0/"
JULIA_CMDSTAN_HOME: "/home/runner/cmdstan-2.33.1/"
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
Expand All @@ -71,7 +71,7 @@ jobs:
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
env:
JULIA_CMDSTAN_HOME: "/home/runner/cmdstan-2.31.0/"
JULIA_CMDSTAN_HOME: "/home/runner/cmdstan-2.33.1/"
- uses: julia-actions/julia-processcoverage@v1
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
- uses: codecov/codecov-action@v1
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ParetoSmoothedImportanceSampling"
uuid = "98f080ec-61e2-11eb-1c7b-31ea1097256f"
authors = ["@alvaro1101, Rob J Goedman <goedman@icloud.com>"]
version = "1.5.2"
version = "1.5.3"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
2 changes: 1 addition & 1 deletion src/gpdfitnew.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
gpdfitnew(x)
Estimate the paramaters for the Generalized Pareto Distribution (GPD). Returns empirical Bayes estimate for the parameters of the two-parameter generalized Parato distribution given the data.
Estimate the parameters for the Generalized Pareto Distribution (GPD). Returns empirical Bayes estimate for the parameters of the two-parameter generalized Parato distribution given the data.
# Arguments
* `x::AbstractArray`: One dimensional data array.
Expand Down
2 changes: 1 addition & 1 deletion test/arsenic_logistic.stan
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
data {
int<lower=0> p;
int<lower=0> N;
int<lower=0,upper=1> y[N];
array[N] int<lower=0,upper=1> y;
matrix[N,p] x;
}

Expand Down
4 changes: 2 additions & 2 deletions test/arsenic_logistic_t.stan
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
data {
int<lower=0> p;
int<lower=0> N;
int<lower=0,upper=1> y[N];
array[N] int<lower=0,upper=1> y;
matrix[N,p] x;
int<lower=0> Nt;
int<lower=0,upper=1> yt[Nt];
array[Nt] int<lower=0,upper=1> yt;
matrix[Nt,p] xt;
}
transformed data {
Expand Down

0 comments on commit dfec2a2

Please sign in to comment.