From df4936085ec93083b9fab7b966b9ef82abca8135 Mon Sep 17 00:00:00 2001 From: Sergi Siso Date: Thu, 19 Dec 2019 10:02:51 +0000 Subject: [PATCH] #190 Revert generic KernelArgument modification --- src/psyclone/psyGen.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/psyclone/psyGen.py b/src/psyclone/psyGen.py index b5bf00dc33..34ba030166 100644 --- a/src/psyclone/psyGen.py +++ b/src/psyclone/psyGen.py @@ -4920,10 +4920,11 @@ def access(self, value): @property def type(self): - '''Return the type of the argument. API's that do not have this concept - can use this baseclass version which just returns "scalar" in all - cases. API's with this concept can override this method. ''' - return "scalar" + '''Return the type of the argument. API's that do not have this + concept (such as gocean0.1 and dynamo0.1) can use this + baseclass version which just returns "field" in all + cases. API's with this concept can override this method ''' + return "field" @property def call(self):