From 86a793ec6d55cae3f02a7ebcefda7fb1622e58ab Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Wed, 20 Jan 2021 23:41:01 -0600 Subject: [PATCH] Fix VectorArg.__hash__ --- pyopencl/compyte | 2 +- pyopencl/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyopencl/compyte b/pyopencl/compyte index 7533db88..fbfe788a 160000 --- a/pyopencl/compyte +++ b/pyopencl/compyte @@ -1 +1 @@ -Subproject commit 7533db88124045924a47d7392eaf9a078670fc4d +Subproject commit fbfe788a2dcb190fd241fd42ad047e33bafd85b8 diff --git a/pyopencl/tools.py b/pyopencl/tools.py index 3be95ee2..b16de3f6 100644 --- a/pyopencl/tools.py +++ b/pyopencl/tools.py @@ -366,7 +366,7 @@ class VectorArg(DtypedArgument): and self.with_offset == other.with_offset) def __hash__(self): - return super.__hash__() ^ hash(self.with_offset) + return super().__hash__() ^ hash(self.with_offset) class ScalarArg(DtypedArgument): -- GitLab