Skip to content

Commit 2396aea

Browse files
don't test upstream
1 parent ce3ae73 commit 2396aea

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

test/REQUIRE

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
OrdinaryDiffEq 0.3.0
2-
ParameterizedFunctions 0.3.0
3-
DiffEqBase 0.3.0
41
Unitful

test/utils_test.jl

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
1-
using OrdinaryDiffEq, ParameterizedFunctions,
2-
DiffEqBase, RecursiveArrayTools, Unitful, StaticArrays
1+
using RecursiveArrayTools, Unitful, StaticArrays
32
using Base.Test
43

5-
# Here's the problem to solve
6-
7-
f = @ode_def_nohes LotkaVolterraTest begin
8-
dx = a*x - b*x*y
9-
dy = -c*y + d*x*y
10-
end a=>1.5 b=1.0 c=3.0 d=1.0
11-
12-
u0 = [1.0;1.0]
13-
tspan = (0.0,10.0)
14-
prob = ODEProblem(f,u0,tspan)
15-
sol = solve(prob,Tsit5()) # this uses most of the tools
16-
174
t = collect(linspace(0,10,200))
18-
randomized = [(sol(t[i]) + .01randn(2)) for i in 1:length(t)]
19-
data = vecvec_to_mat(randomized)
5+
randomized = VectorOfArray([.01randn(2) for i in 1:10])
6+
data = convert(Array,randomized)
207
@test typeof(data) <: Matrix{Float64}
218

229
## Test means

0 commit comments

Comments
 (0)