Skip to content
Snippets Groups Projects
Commit 246f0617 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge pull request #23 from Manticore/obsolete-obj-ptr

Fixed an obsolete access to ``obj_ptr`` attribute.
parents 2a05c801 b387dd36
No related branches found
No related tags found
No related merge requests found
......@@ -314,7 +314,7 @@ def _add_functionality():
# {{{ Context
def context_repr(self):
return "<pyopencl.Context at 0x%x on %s>" % (self.obj_ptr,
return "<pyopencl.Context at 0x%x on %s>" % (self.int_ptr,
", ".join(repr(dev) for dev in self.devices))
def context_get_cl_version(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment