Skip to content

Commit

Permalink
#190 Revert generic KernelArgument modification
Browse files Browse the repository at this point in the history
  • Loading branch information
sergisiso committed Dec 19, 2019
1 parent 5816229 commit df49360
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/psyclone/psyGen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit df49360

Please sign in to comment.