Commit 11bb6625 authored by Michael Kuron's avatar Michael Kuron
Browse files

pystencils_walberla: don't sort members

they are in the same order as the kernel arguments, which is ordered in some way already
parent 71cee19e
...@@ -365,7 +365,7 @@ def generate_members(ctx, kernel_info, parameters_to_ignore=(), only_fields=Fals ...@@ -365,7 +365,7 @@ def generate_members(ctx, kernel_info, parameters_to_ignore=(), only_fields=Fals
if hasattr(kernel_info, 'varying_parameters'): if hasattr(kernel_info, 'varying_parameters'):
result.extend(["%s %s_;" % e for e in kernel_info.varying_parameters]) result.extend(["%s %s_;" % e for e in kernel_info.varying_parameters])
return "\n".join(sorted(result)) return "\n".join(result)
def generate_destructor(kernel_info, class_name): def generate_destructor(kernel_info, class_name):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment