Skip to content

Commit

Permalink
Fix cartesian_product_with test on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
tcbrindle committed Jul 11, 2023
1 parent 410c6d5 commit 64bcab0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/test_cartesian_product_with.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <flux.hpp>

#include <array>
#include <iostream>

#include "test_utils.hpp"

Expand Down Expand Up @@ -125,9 +124,9 @@ constexpr bool test_cartesian_product_with()

seq.fill(100.0);

for (auto const& r : vals) {
for (double const& d : r) {
STATIC_CHECK(d == 100.0);
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
STATIC_CHECK(vals[i][j] == 100.0);
}
}
}
Expand Down

0 comments on commit 64bcab0

Please sign in to comment.