Skip to content

Commit

Permalink
Back out unintended change to Array.fill
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Aug 17, 2016
1 parent b330721 commit 40dda54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyopencl/array.py
Expand Up @@ -1063,8 +1063,7 @@ def fill(self, value, queue=None, wait_for=None):
"""

self.add_event(
cl.enqueue_fill_buffer(queue, self.base_data, np.int8(0),
self.offset, self.nbytes, wait_for=wait_for))
self._fill(self, value, queue=queue, wait_for=wait_for))

return self

Expand Down

0 comments on commit 40dda54

Please sign in to comment.