Skip to content

Commit 08e3ff6

Browse files
committed
missed some spots
1 parent 94d7be3 commit 08e3ff6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tutorials/A Bottom-Up Introduction to Gen.ipynb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@
629629
"source": [
630630
"using Gen: get_score\n",
631631
"trace = simulate(foo, (0.3,))\n",
632-
"display(get_choices(trace))\n",
632+
"get_choices(trace)\n",
633633
"println(\"log probability: $(get_score(trace))\")"
634634
]
635635
},
@@ -681,9 +681,7 @@
681681
"source": [
682682
"using Gen: choicemap\n",
683683
"\n",
684-
"constraints = choicemap((:a, true), (:c, false))\n",
685-
"\n",
686-
"display(constraints)"
684+
"constraints = choicemap((:a, true), (:c, false))"
687685
]
688686
},
689687
{
@@ -732,7 +730,7 @@
732730
"metadata": {},
733731
"outputs": [],
734732
"source": [
735-
"display(get_choices(trace))"
733+
"get_choices(trace)"
736734
]
737735
},
738736
{

0 commit comments

Comments
 (0)