Skip to content

Commit c1f8451

Browse files
committed
Fix error in README example
1 parent dde2d83 commit c1f8451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Example
3030
3131
# Build the transition kernel
3232
srng = RandomStream(seed=0)
33-
kernel = nuts.kernel(srng, logprob_fn)
33+
kernel = nuts.new_kernel(srng, logprob_fn)
3434
3535
# Compile a function that updates the chain
3636
y_vv = Y_rv.clone()

0 commit comments

Comments
 (0)