Skip to content

Commit 2b455cd

Browse files
remove rand from tests
1 parent c02c0fb commit 2b455cd

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ julia = "1"
3333
[extras]
3434
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
3535
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
36+
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
3637
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3738

3839
[targets]
39-
test = ["CSV", "DataFrames", "Test"]
40+
test = ["CSV", "DataFrames", "Random", "Test"]

test/models/basicstructural_explanatory.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@test has_fit_methods(BasicStructuralExplanatory)
33
y = CSV.File(StateSpaceModels.AIR_PASSENGERS) |> DataFrame
44
logap = log.(y.passengers)
5-
X = rand(length(logap), 2)
5+
X = ones(length(logap), 2)
66
model = BasicStructuralExplanatory(logap, 12, X)
77
fit!(model)
88
model = BasicStructuralExplanatory(logap, 10, X)

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using CSV
22
using DataFrames
33
using LinearAlgebra
4+
using Random
45
using RecipesBase
56
using StateSpaceModels
67
using Statistics

0 commit comments

Comments
 (0)