Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix UCBadmit demo in README.md #402

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tjmahr
Copy link

@tjmahr tjmahr commented Apr 7, 2023

The reject column leads to a Stan error: Identifier 'reject' clashes with reserved keyword.

Compiling Stan program...
Semantic error in 'C:/Users/Tristan/AppData/Local/Temp/RtmpANG1E7/model-43e43a135551.stan', line 3, column 18 to column 24:
   -------------------------------------------------
     1:  data{
     2:      array[12] int male;
     3:      array[12] int reject;
                           ^
     4:      array[12] int applications;
     5:      array[12] int admit;
   -------------------------------------------------

Identifier 'reject' clashes with reserved keyword.

Idk how much you rely on this variable name in the book, but this is a quick fix for the README.

The `reject` column leads to a Stan error: `Identifier 'reject' clashes with reserved keyword.`

```
Compiling Stan program...
Semantic error in 'C:/Users/Tristan/AppData/Local/Temp/RtmpANG1E7/model-43e43a135551.stan', line 3, column 18 to column 24:
   -------------------------------------------------
     1:  data{
     2:      array[12] int male;
     3:      array[12] int reject;
                           ^
     4:      array[12] int applications;
     5:      array[12] int admit;
   -------------------------------------------------

Identifier 'reject' clashes with reserved keyword.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant