diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 1272d2a59119725a903fa7cd1a08b7de8629c6f6..ce0677147db249498c8174d8d164b262781e84c2 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))