From 6cfa288e696336c51e8f88af551bdaa7b41fc95f Mon Sep 17 00:00:00 2001 From: Eike Mueller Date: Thu, 28 Apr 2016 08:37:21 +0100 Subject: [PATCH] Fixed typo There was an underscore missing in libdirs, so the argument names were inconsistent --- pyop2/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyop2/base.py b/pyop2/base.py index 34e476105..d2a63bc26 100644 --- a/pyop2/base.py +++ b/pyop2/base.py @@ -3771,7 +3771,7 @@ class Kernel(Cached): @classmethod @validate_type(('name', str, NameTypeError)) def _cache_key(cls, code, name, opts={}, include_dirs=[], headers=[], - user_code="", cpp=False, libs=[], libdirs=[]): + user_code="", cpp=False, libs=[], lib_dirs=[]): # Both code and name are relevant since there might be multiple kernels # extracting different functions from the same code # Also include the PyOP2 version, since the Kernel class might change