Skip to content

Commit 1b8f555

Browse files
committed
Merge remote-tracking branch 'origin/main' into breaking
2 parents b9c368b + 019e41b commit 1b8f555

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.github/workflows/PRAssign.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Automatically assign PR authors
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
8+
permissions:
9+
pull-requests: write
10+
11+
jobs:
12+
assign-author:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: TuringLang/actions/PRAssign@main

HISTORY.md

+4
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ The reason for this change is that there were several flavours of VarInfo.
8282
Some, like `typed_varinfo`, were easy to construct because we had convenience methods for them; however, the others were more difficult.
8383
This change makes it easier to access different VarInfo types, and also makes it more explicit which one you are constructing.
8484

85+
## 0.35.6
86+
87+
Fixed the implementation of `.~`, such that running a model with it no longer requires DynamicPPL itself to be loaded.
88+
8589
## 0.35.5
8690

8791
Several internal methods have been removed:

src/compiler.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ Generate the expression that replaces `left .~ right` in the model body.
519519
function generate_dot_tilde(left, right)
520520
@gensym dist left_axes idx
521521
return quote
522-
$dist = DynamicPPL.check_dot_tilde_rhs($right)
522+
$dist = $(DynamicPPL.check_dot_tilde_rhs)($right)
523523
$left_axes = axes($left)
524524
for $idx in Iterators.product($left_axes...)
525525
$left[$idx...] ~ $dist

0 commit comments

Comments
 (0)