From 0b2d8291f4671a995770b77873e6a4696371322e Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Mon, 17 Dec 2012 23:40:11 -0500 Subject: [PATCH] ListOfListsBuilder: Fix doc example. --- pyopencl/algorithm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyopencl/algorithm.py b/pyopencl/algorithm.py index a78d7dfe..e0fdb7c8 100644 --- a/pyopencl/algorithm.py +++ b/pyopencl/algorithm.py @@ -628,7 +628,7 @@ class ListOfListsBuilder: from pyopencl.algorithm import ListOfListsBuilder builder = ListOfListsBuilder(context, [("mylist", np.int32)], \"\"\" - void generate(USER_ARG_DECL LIST_ARG_DECL index_type i) + void generate(LIST_ARG_DECL USER_ARG_DECL index_type i) { int count = i % 4; for (int j = 0; j < count; ++j) -- GitLab