Skip to content

Commit

Permalink
Fix incorrect std::array sizes in Target.cpp (#8396)
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-johnson authored Aug 23, 2024
1 parent 9864bd4 commit 45518ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,7 @@ bool Target::get_runtime_compatible_target(const Target &other, Target &result)
// clang-format on

// clang-format off
const std::array<Feature, 23> intersection_features = {{
const std::array<Feature, 14> intersection_features = {{
ARMv7s,
AVX,
AVX2,
Expand All @@ -1568,7 +1568,7 @@ bool Target::get_runtime_compatible_target(const Target &other, Target &result)
// clang-format on

// clang-format off
const std::array<Feature, 10> matching_features = {{
const std::array<Feature, 9> matching_features = {{
ASAN,
Debug,
HexagonDma,
Expand Down

0 comments on commit 45518ac

Please sign in to comment.