Skip to content

Commit 9c474af

Browse files
authored
Merge pull request #918 from ChrisHIV/patch-1
Update expressions.qmd
2 parents 8c70663 + 5e90129 commit 9c474af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/reference-manual/expressions.qmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,8 @@ converted to one another (e.g., compared with `==`), then
648648
a ? b : c
649649
```
650650

651-
is an expression of the promoted type of `b` and `c`. The
651+
is an expression of the promoted type of `b` and `c`. The result of this
652+
expression is `b` if condition `a` is true, `c` otherwise. The
652653
only promotion allowed in Stan is integer -> real -> complex; e.g. if one
653654
argument is of type `int` and the other of type `real`, the
654655
conditional expression as a whole is of type `real`.

0 commit comments

Comments
 (0)