diff --git a/doc/tutorial.rst b/doc/tutorial.rst
index 3c85060dacf03b52f6e0b1faf05ad4697b6a5d07..aa75b0efda70f31d6cdce7f20f92d9495f26ceca 100644
--- a/doc/tutorial.rst
+++ b/doc/tutorial.rst
@@ -1220,7 +1220,7 @@ should call :func:`loopy.get_one_scheduled_kernel`:
       2: RETURN FROM KERNEL rotate_v2
       3: ... gbarrier
       4: CALL KERNEL rotate_v2_0(extra_args=[], extra_inames=[])
-      5:     arr[((1 + i_inner + i_outer*16) % n)] = tmp  {id=rotate}
+      5:     arr[(1 + i_inner + i_outer*16) % n] = tmp  {id=rotate}
       6: RETURN FROM KERNEL rotate_v2_0
    ---------------------------------------------------------------------------