Skip to content

Commit bcd1d2e

Browse files
Merge pull request #926 from stan-dev/jacobian-reserved
Jacobian is a reserved keyword
2 parents 98bc98c + aab93a0 commit bcd1d2e

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

src/reference-manual/deprecations.qmd

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,6 @@ in the `transformed parameters` block.
6060
*Replacement*: Use `_jacobian` functions and the `jacobian +=` statement instead. These allow for change-of-variable
6161
adjustments which can be conditionally enabled by Stan's algorithms.
6262

63-
## New Keywords
64-
65-
*Deprecated*: The following identifiers will become reserved in the language in the specified version.
66-
67-
*Replacement*: Rename any variables or functions with these names.
68-
69-
| Identifier | Version |
70-
|------------|---------|
71-
| jacobian | 2.38 |
72-
7363
## Deprecated Functions
7464

7565
Several built-in Stan functions have been deprecated. Consult the

src/reference-manual/expressions.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,11 @@ column_stochastic_matrix,row_stochastic_matrix,
155155
cholesky_factor_cov, corr_matrix, cov_matrix, array
156156
```
157157

158-
The following built in functions are also reserved and
158+
The following keywords or built-in functions are also reserved and
159159
cannot be used as variable names:
160160

161161
```
162-
print, reject, profile, fatal_error, target
162+
print, reject, profile, fatal_error, target, jacobian
163163
```
164164

165165
The following block identifiers are reserved and cannot be used as variable names:

0 commit comments

Comments
 (0)