diff --git a/tutorial/source/effect_handlers.ipynb b/tutorial/source/effect_handlers.ipynb index f680516b1d..e81a82ccee 100644 --- a/tutorial/source/effect_handlers.ipynb +++ b/tutorial/source/effect_handlers.ipynb @@ -99,7 +99,7 @@ " return _log_joint\n", "\n", "scale_log_joint = make_log_joint(scale)\n", - "print(scale_log_joint({\"measurement\": 9.5, \"weight\": 8.23}, 8.5))" + "print(scale_log_joint({\"measurement\": torch.tensor(9.5), \"weight\": torch.tensor(8.23)}, torch.tensor(8.5)))" ] }, {