Skip to content

Commit 72ee221

Browse files
authored
Fix typo
1 parent ed48958 commit 72ee221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Chapter1_Introduction/Ch1_Introduction_TFP.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@
12341234
"\n",
12351235
" lambda_ = tf.gather(\n",
12361236
" [lambda_1, lambda_2],\n",
1237-
" indices=tf.to_int32(tau * tf.cast(tf.size(count_data), tf.float32) <= tf.cast(tf.range(tf.size(count_data)))), tf.float32)\n",
1237+
" indices=tf.to_int32(tau * tf.cast(tf.size(count_data), tf.float32) <= tf.cast(tf.range(tf.size(count_data)), tf.float32)))\n",
12381238
" rv_observation = tfd.Poisson(rate=lambda_)\n",
12391239
" \n",
12401240
" return (\n",

0 commit comments

Comments
 (0)