Skip to content

Commit

Permalink
increase n in simplelinreg test
Browse files Browse the repository at this point in the history
  • Loading branch information
palday committed Apr 16, 2024
1 parent 29f351d commit d8158a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/utils_and_types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d8158a9

Please sign in to comment.