Skip to content
Snippets Groups Projects
Commit 4448ad85 authored by Marcel Koch's avatar Marcel Koch
Browse files

don't use curly braced initializer

parent 9d48f29a
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ def _default_value(shape_impl, shape):
t = _temporary_type(shape_impl, shape)
if shape_impl[0] in ['fv', 'fm', 'vec']:
return "{0}{{{1}}}".format(t, _default_value(shape_impl[1:], shape[1:]))
return "{0}({1})".format(t, _default_value(shape_impl[1:], shape[1:]))
def default_declaration(name, kernel, decl_info):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment