Bug 1018862 part 6 - Fix handling of 3d matrices in omta_is and co.; r=dholbert

This patch fixes a bug in the handling of 3d matrices represented as an array of
numbers.
This commit is contained in:
Brian Birtles 2014-06-12 13:17:47 +09:00
parent fc0f391f97
commit 6fca66ae6a

View File

@ -439,10 +439,10 @@ const ExpectComparisonTo = {
e: array[4], f: array[5] } );
} else if (array.length == 16) {
return [
array.slice(0, 3),
array.slice(4, 7),
array.slice(8, 11),
array.slice(12, 15)
array.slice(0, 4),
array.slice(4, 8),
array.slice(8, 12),
array.slice(12, 16)
];
} else {
return null;