Skip to content

Commit

Permalink
Test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
27pchrisl committed Sep 20, 2023
1 parent d8b9250 commit 28012ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/MatrixTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2320,7 +2320,7 @@ public function quantile() : void

$b = $a->quantile(0.4);

$expected = ColumnVector::quick([6.200000000000003, 2.8000000000000007, -6.6]);
$expected = ColumnVector::quick([6.200000000000001, 2.8000000000000003, -6.6]);

$this->assertEquals($expected, $b);
}
Expand Down
4 changes: 2 additions & 2 deletions tests/VectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ public function convolve() : void
$c = $a->convolve($b, 1);

$expected = Vector::quick([
-60, 2.5, 259, -144, 40.5, 370.1, 462.20000000000005,
10, 1764.3000000000002, 1625.1, 2234.7000000000003, 1378.4, 535.5,
-60.0, 2.5, 259.0, -144.0, 40.5, 370.1, 462.20000000000005,
10.000000000000114, 1764.3000000000002, 1625.1, 2234.7, 1378.4, 535.5,
]);

$this->assertEquals($expected, $c);
Expand Down

0 comments on commit 28012ac

Please sign in to comment.