Skip to content

Commit d2dc90f

Browse files
committed
rotate idiom
1 parent d71c515 commit d2dc90f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

inst/tests/tests.Rraw

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21402,4 +21402,6 @@ if (test_bit64) {
2140221402
test(2327.71, frev(x), rev(x))
2140321403
test(2327.72, setrev(x), x)
2140421404
}
21405-
21405+
# support rotate idiom
21406+
M1 = M2 = matrix(1:4, nrow=2)
21407+
test(2327.81, {M1[]=frev(M1); M1}, {M2[]=rev(M2); M2})

0 commit comments

Comments
 (0)