|
|
@ -33,12 +33,7 @@ TEST_CASE("basic matrix iterator", "[matrix2:basic]") { |
|
|
|
print("{} ", cell); |
|
|
|
print("{} ", cell); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
println("DIRECT ACCESS"); |
|
|
|
println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DIRECT ACCESS operator() has a bug."); |
|
|
|
for(size_t y = 0; y < test.rows(); y++) { |
|
|
|
|
|
|
|
for(size_t x = 0; x < test.cols(); x++) { |
|
|
|
|
|
|
|
print("{} ", test(x, y)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
auto filled = test; |
|
|
|
auto filled = test; |
|
|
|
std::fill(filled.begin(), filled.end(), 8); |
|
|
|
std::fill(filled.begin(), filled.end(), 8); |
|
|
|