spelling: array

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2024-01-01 23:03:10 -05:00
parent 7057f13b5f
commit 27f640e7c9

View File

@ -1411,7 +1411,7 @@ TEST_CASE("test broadcast") {
x.eval(); x.eval();
CHECK_EQ(x.strides(), std::vector<size_t>{0, 0, 1}); CHECK_EQ(x.strides(), std::vector<size_t>{0, 0, 1});
// Broadcast on transposed arrray works // Broadcast on transposed array works
x = array({0, 1, 2, 3, 4, 5}, {2, 3}); x = array({0, 1, 2, 3, 4, 5}, {2, 3});
x = broadcast_to(transpose(x), {2, 3, 2}); x = broadcast_to(transpose(x), {2, 3, 2});
CHECK_EQ(x.shape(), std::vector<int>{2, 3, 2}); CHECK_EQ(x.shape(), std::vector<int>{2, 3, 2});