Skip to content

Commit 03f58c7

Browse files
committed
Fix test.
1 parent b7a36c9 commit 03f58c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/MatrixTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,9 @@ public function testDiagonal() {
238238

239239
$this->assertEquals(1, $matrix->rows);
240240
$this->assertEquals(3, $matrix->columns);
241-
$this->assertEquals(1, $matix->get(0, 1));
241+
$this->assertEquals(1, $matix->get(0, 0));
242242
$this->assertEquals(5, $matix->get(0, 1));
243-
$this->assertEquals(9, $matix->get(0, 1));
243+
$this->assertEquals(9, $matix->get(0, 2));
244244
}
245245

246246
public function testTrace() {

0 commit comments

Comments
 (0)