From 48ec678b34ca912b71a6cfc36402043c152d8683 Mon Sep 17 00:00:00 2001 From: Tom Short Date: Fri, 23 Dec 2016 12:34:50 -0500 Subject: [PATCH] Remove Compat (#76) * Change Discretes to use ReactiveBasics * Remove Compat --- REQUIRE | 1 - src/Sims.jl | 3 --- src/dassl.jl | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/REQUIRE b/REQUIRE index df91bbe..0f3c943 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,5 +1,4 @@ julia 0.5 -Compat Documenter Ipopt JuMP diff --git a/src/Sims.jl b/src/Sims.jl index 43cfaf7..1ed4cd3 100644 --- a/src/Sims.jl +++ b/src/Sims.jl @@ -44,9 +44,6 @@ export foldp, value, signal, flatmap using Documenter include("docutil.jl") -using Compat -import Compat.view - include("main.jl") include("elaboration.jl") include("simcreation.jl") diff --git a/src/dassl.jl b/src/dassl.jl index ed41233..6b7281d 100644 --- a/src/dassl.jl +++ b/src/dassl.jl @@ -49,7 +49,7 @@ function dasslrootfun(neq, t_in, y_in, yp_in, nrt, rval_out, rpar, ipar) return nothing end -initdassl = @compat Dict(:none => 0, :Ya_Ydp => 1, :Y => 2) +initdassl = Dict(:none => 0, :Ya_Ydp => 1, :Y => 2) """ The solver that uses DASKR, a variant of DASSL.