Skip to content
Snippets Groups Projects
Commit 9c5d835d authored by Matt Wala's avatar Matt Wala
Browse files

Fix a deprecated usage in tutorial.

parent b5f1e160
No related branches found
No related tags found
No related merge requests found
......@@ -1869,7 +1869,7 @@ Now to make things more interesting, we'll create a kernel with barriers:
... e[i,j,k] = c[i,j,k+1]+c[i,j,k-1]
... """
... ], [
... lp.TemporaryVariable("c", lp.auto, shape=(50, 10, 99)),
... lp.TemporaryVariable("c", dtype=None, shape=(50, 10, 99)),
... "..."
... ])
>>> knl = lp.add_and_infer_dtypes(knl, dict(a=np.int32))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment