We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d735e8 commit 11493b8Copy full SHA for 11493b8
pyccel/codegen/printing/fcode.py
@@ -2156,7 +2156,7 @@ def _print_Allocate(self, expr):
2156
elif expr.alloc_type == 'reserve':
2157
var_code = self._print(expr.variable)
2158
size_code = self._print(expr.shape[0])
2159
- return '{var_code} % reserve({size_code})\n'
+ return f'call {var_code} % reserve({size_code})\n'
2160
else:
2161
return ''
2162
elif isinstance(class_type, (HomogeneousContainerType, DictType)):
0 commit comments