From 84f4086969746d0a9f547ce8d5d8cd31feeeb0bf Mon Sep 17 00:00:00 2001 From: Patrick Kofod Mogensen Date: Fri, 10 Mar 2017 21:13:27 +0100 Subject: [PATCH] Fix deprecation warning in objective_types.jl --- src/objective_types.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objective_types.jl b/src/objective_types.jl index 94a317e86..6abe630c9 100644 --- a/src/objective_types.jl +++ b/src/objective_types.jl @@ -1,4 +1,4 @@ -abstract AbstractObjective +@compat abstract type AbstractObjective end type NonDifferentiable{T} <: AbstractObjective f f_x::T