Skip to content

Commit 7b05a38

Browse files
committed
Remove deprecated syntax from hello_world.rst
1 parent 2d54607 commit 7b05a38

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

cmdstanpy_tutorial.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
# ### Import CmdStanPy classes and methods
55

6-
import os.path
7-
import sys
6+
import os
87

98
from cmdstanpy import CmdStanModel, cmdstan_path
109

docsrc/users-guide/hello_world.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ given a set of N observations of i.i.d. binary data
3131
3232
data {
3333
int<lower=0> N;
34-
int<lower=0,upper=1> y[N];
34+
array[N] int<lower=0,upper=1> y;
3535
}
3636
parameters {
3737
real<lower=0,upper=1> theta;

0 commit comments

Comments
 (0)