Skip to content

Commit 1e022c6

Browse files
remove DESolution arrays for linux segfault
1 parent 06e7f40 commit 1e022c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/benchmark.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ end
2929
function Shootout(prob,setups;appxsol=nothing,numruns=20,names=nothing,error_estimate=:final,kwargs...)
3030
N = length(setups)
3131
errors = Vector{Float64}(N)
32-
solutions = Vector{DESolution}(N)
32+
solutions = Vector{Any}(N)
3333
effs = Vector{Float64}(N)
3434
times = Vector{Float64}(N)
3535
effratios = Matrix{Float64}(N,N)
@@ -280,7 +280,7 @@ function WorkPrecisionSet(prob::AbstractRODEProblem,abstols,reltols,setups,test_
280280
dense_errors = has_analytic(prob.f) && error_estimate DENSE_ERRORS
281281
N = length(setups); M = length(abstols)
282282
times = Array{Float64}(M,N)
283-
tmp_solutions = Array{DESolution}(numruns_error,M,N)
283+
tmp_solutions = Array{Any}(numruns_error,M,N)
284284
if names == nothing
285285
names = [string(parameterless_type(setups[i][:alg])) for i=1:length(setups)]
286286
end

src/convergence.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function analyticless_test_convergence(dts::AbstractArray,
6161
timeseries_errors=save_everystep,adaptive=false,
6262
weak_timeseries_errors=false,weak_dense_errors=false,kwargs...)
6363
_solutions = []
64-
tmp_solutions = Array{DESolution}(numMonte,length(dts))
64+
tmp_solutions = Array{Any}(numMonte,length(dts))
6565
@progress for j in 1:numMonte
6666
t = prob.tspan[1]:test_dt:prob.tspan[2]
6767
brownian_values = cumsum([[zeros(size(prob.u0))];[sqrt(test_dt)*randn(size(prob.u0)) for i in 1:length(t)-1]])

0 commit comments

Comments
 (0)