Compare commits
1 commit
new_poynti
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| d5fd78d493 |
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ class Simulation(object):
|
||||||
ctype = type_to_C(self.arg_type)
|
ctype = type_to_C(self.arg_type)
|
||||||
|
|
||||||
def ptr(arg: str) -> str:
|
def ptr(arg: str) -> str:
|
||||||
return ctype + ' * restrict ' + arg
|
return ctype + ' *' + arg
|
||||||
|
|
||||||
base_fields = OrderedDict()
|
base_fields = OrderedDict()
|
||||||
base_fields[ptr('E')] = self.E
|
base_fields[ptr('E')] = self.E
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue