Commit b67af364 authored by Swann Perarnau's avatar Swann Perarnau

[fix] missing return assignment

parent 9d1c9f97
......@@ -48,6 +48,7 @@ static int aml_tiling_resize_alloc(struct aml_tiling **ret, size_t ndims)
size_t, 2*ndims);
data->layout = NULL;
data->ndims = ndims;
*ret = tiling;
return 0;
}
......@@ -87,6 +88,7 @@ int aml_tiling_resize_create(struct aml_tiling **tiling,
*tiling = NULL;
return -AML_EINVAL;
}
*tiling = t;
data->tags = tags;
size_t target_dims[ndims];
......
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