From 6cf3334815e4356fdb36fe408f5b8927c2f8946a Mon Sep 17 00:00:00 2001 From: David Widmann Date: Wed, 9 Jan 2019 17:10:22 +0100 Subject: [PATCH] Fix deprecations of binary_minheap and binary_maxheap --- REQUIRE | 2 +- src/solve.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/REQUIRE b/REQUIRE index 3b75853..cbbf701 100644 --- a/REQUIRE +++ b/REQUIRE @@ -3,5 +3,5 @@ ODEInterface 0.1.3 DiffEqBase 4.29.0 Compat 0.17.0 Reexport -DataStructures +DataStructures 0.15.0 FunctionWrappers diff --git a/src/solve.jl b/src/solve.jl index 38fcd96..dc59254 100644 --- a/src/solve.jl +++ b/src/solve.jl @@ -202,9 +202,9 @@ function saveat_disc_handling(saveat,tdir,tspan,tType) end if tdir>0 - saveat_internal = binary_minheap(saveat_vec) + saveat_internal = BinaryMinHeap(saveat_vec) else - saveat_internal = binary_maxheap(saveat_vec) + saveat_internal = BinaryMaxHeap(saveat_vec) end saveat_internal