From 9c5d835db834e260386ed0440a6466401de7af5c Mon Sep 17 00:00:00 2001 From: Matt Wala <wala1@illinois.edu> Date: Sun, 18 Nov 2018 19:32:40 -0600 Subject: [PATCH] Fix a deprecated usage in tutorial. --- doc/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 1272d2a59..ce0677147 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -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)) -- GitLab