Skip to content

Commit

Permalink
global fix
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Mar 9, 2019
1 parent 22703cd commit f1fcebd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ end
t0, t1 = [5., 15.]
wellx, welly, wellz = [823., 1499., 3.]
ts = range(1.; stop=50., length=50)
results = Array{Float64}(undef, length(ts))
global results = Array{Float64}(undef, length(ts))
for i = 1:length(ts)
results[i] = contamination(wellx, welly, wellz, porosity, lambda, theta, vx, vy, vz, ax, ay, az, H, x, y, z, dx, dy, dz, f, t0, t1, ts[i]; anasolfunction=anasolfunction)
end
Expand All @@ -71,7 +71,7 @@ end

@Test.testset "Anasol" begin
x01, x02, x03 = 5., 3.14, 2.72
x0 = [x01, x02, x03]
global x0 = [x01, x02, x03]
sigma01, sigma02, sigma03 = 1., 10., .1
v1, v2, v3 = 2.5, 0.3, 0.01
v = [v1, v2, v3]
Expand All @@ -91,7 +91,7 @@ end
end

t1s = collect(2015:5:2030)
results = Array{Float64}(undef, length(t1s))
global results = Array{Float64}(undef, length(t1s))
for i = 1:100
n = 0.1
lambda = 0.
Expand Down

0 comments on commit f1fcebd

Please sign in to comment.