Skip to content

Commit

Permalink
fix oryx test
Browse files Browse the repository at this point in the history
  • Loading branch information
fehiepsi committed Oct 24, 2024
1 parent a905856 commit 8685b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coix/oryx_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def expected_fn(x):

def test_observed():
def model(a):
return coryx.rv(dist.Delta(2.0, 3.0), obs=1.0, name="x") + a
return coryx.rv(dist.Delta(a, 3.0), obs=1.0, name="x") + a

_, trace, _ = coix.traced_evaluate(model)(2.0)
assert "x" in trace
Expand Down

0 comments on commit 8685b10

Please sign in to comment.