Skip to content

Commit

Permalink
Merge pull request #11 from JuliaDiffEq/depwarns
Browse files Browse the repository at this point in the history
fix v0.6 depwarns
  • Loading branch information
ChrisRackauckas committed May 12, 2017
2 parents e4590ba + 2955965 commit b5a70bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions REQUIRE
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
julia 0.5
DiffEqBase 0.15.0
Compat 0.17.0
2 changes: 2 additions & 0 deletions src/DASKR.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ __precompile__()

module DASKR

using Compat

include("core.jl")
include("common.jl")

Expand Down
4 changes: 2 additions & 2 deletions src/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using DiffEqBase
import DiffEqBase: solve

# Abstract Types
abstract DASKRDAEAlgorithm{LinearSolver} <: AbstractDAEAlgorithm
@compat abstract type DASKRDAEAlgorithm{LinearSolver} <: AbstractDAEAlgorithm end

# DAE Algorithms
immutable daskr{LinearSolver} <: DASKRDAEAlgorithm{LinearSolver} end
Expand Down Expand Up @@ -32,7 +32,7 @@ function solve{uType,duType,tType,isinplace,LinearSolver}(
warn("save_timeseries is deprecated. Use save_everystep instead")
save_everystep = save_timeseries
end

if callback != nothing || prob.callback != nothing
error("DASKR is not compatible with callbacks.")
end
Expand Down

0 comments on commit b5a70bd

Please sign in to comment.