Skip to content

Commit

Permalink
Fix issue reported by cppcheck [skip travis]
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Jun 11, 2024
1 parent a1c4ecd commit eac7e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_mat.c
Original file line number Diff line number Diff line change
Expand Up @@ -2673,7 +2673,7 @@ static int
test_cell_api_set()
{
size_t dims[2];
double data[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
const double data[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
matvar_t *cells[10], *matvar, *prev_cell;

dims[0] = 2;
Expand Down

0 comments on commit eac7e51

Please sign in to comment.