Skip to content

Commit

Permalink
backport: remove pointless static.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Jul 26, 2024
1 parent 1da3d0a commit a7b22df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/data_generator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ std::vector<size_t> unravel(size_t flat_index, const std::vector<size_t> dims) {
return indices;
}

static size_t flat_size(const std::vector<size_t>& dims) {
inline size_t flat_size(const std::vector<size_t>& dims) {
size_t n = 1;
for (auto d: dims) {
n *= d;
Expand Down

0 comments on commit a7b22df

Please sign in to comment.