diff --git a/01_getting_started/hello_world.py b/01_getting_started/hello_world.py index 1ef43d63e..a3fe60329 100644 --- a/01_getting_started/hello_world.py +++ b/01_getting_started/hello_world.py @@ -48,7 +48,7 @@ def f(i): # # Inside the `main()` function body, we are calling the function `f` in three ways: # -# 1 As a simple local call, `f(1000)` +# 1 As a simple local call, `f.local(1000)` # 2. As a simple *remote* call `f.remote(1000)` # 3. By mapping over the integers `0..19` diff --git a/11_notebooks/basic.ipynb b/11_notebooks/basic.ipynb index 739b52181..0e77e9893 100644 --- a/11_notebooks/basic.ipynb +++ b/11_notebooks/basic.ipynb @@ -91,7 +91,7 @@ "\n", "\n", "with stub.run():\n", - " print(quadruple(100))\n", + " print(quadruple.local(100))\n", " print(quadruple.remote(100)) # run remotely\n", " result = quadruple.remote(10_000_000)" ]