Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 10, 2022
1 parent 35823ce commit 32a9c5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c_api/src/c_api_test_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ TiNdarrayAndMem make_ndarray(TiRuntime runtime,
e_shape.dims[i] = element_shape[i];
}

TiNdArray arg_array {};
TiNdArray arg_array{};
arg_array.memory = res.memory_;
arg_array.shape = shape;
arg_array.elem_shape = e_shape;
arg_array.elem_type = dtype;

TiArgumentValue arg_value {};
TiArgumentValue arg_value{};
arg_value.ndarray = arg_array;

res.arg_.type = TiArgumentType::TI_ARGUMENT_TYPE_NDARRAY;
Expand Down

0 comments on commit 32a9c5c

Please sign in to comment.