1.0.0-rc.89

This commit is contained in:
2025-10-01 22:54:40 +02:00
parent fae0d06500
commit 14f5051692
170 changed files with 542 additions and 383 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ TEST_CASE("Regression") {
x[i] = i;
y[i] = 7 * i + 5;
}
auto reg = regression(x, y);
auto reg = regression(x, y, x.size());
REQUIRE(reg.intercept == Catch::Approx(5.0));
REQUIRE(reg.slope == Catch::Approx(7.0));
REQUIRE(reg.r_square > 0.9999);