Revert "Extend scope of transpose"

This reverts commit 5ebf1c80b9.
This commit is contained in:
RonaldoCMP
2020-08-11 14:33:42 +01:00
parent 5ebf1c80b9
commit 1df84f3552
2 changed files with 3 additions and 24 deletions

View File

@@ -480,7 +480,6 @@ test_array_dim();
module test_transpose() {
assert(transpose([[1,2,3],[4,5,6],[7,8,9]]) == [[1,4,7],[2,5,8],[3,6,9]]);
assert(transpose([[1,2,3],[4,5,6]]) == [[1,4],[2,5],[3,6]]);
assert(transpose([[1,2,3],[4,5,6]], reverse=true) == [[6,3],[5,2],[4,1]]);
assert(transpose([3,4,5]) == [3,4,5]);
}
test_transpose();