From d8158a98f1d92b0b0fe2fec8788d820700f7413e Mon Sep 17 00:00:00 2001 From: Phillip Alday Date: Tue, 16 Apr 2024 13:28:09 -0500 Subject: [PATCH] increase n in simplelinreg test --- test/utils_and_types.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/utils_and_types.jl b/test/utils_and_types.jl index e6619f0..cccbd83 100644 --- a/test/utils_and_types.jl +++ b/test/utils_and_types.jl @@ -10,8 +10,9 @@ end @testset "Simple linear regression" begin a, b = 1, 2 - x = collect(1:10) - y = randn(MersenneTwister(42), 10) * 0.1 + n = 100 + x = 1:n + y = randn(MersenneTwister(42), n) * 0.1 @. y += a + b * x result = simplelinreg(x, y) @test result isa Tuple