Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix deprecations
  • Loading branch information
femtocleaner[bot] committed Sep 3, 2018
commit e9efb40d5eb4b6d086a799e799b0099b390ad1c7
2 changes: 0 additions & 2 deletions src/DualNumbers.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
__precompile__()

module DualNumbers

using Compat, SpecialFunctions
Expand Down
4 changes: 0 additions & 4 deletions src/dual.jl
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ end

Base.show(io::IO, z::Dual) = dual_show(io, z, get(IOContext(io), :compact, false))

@static if VERSION < v"0.7.0-DEV.4524"
Base.showcompact(io::IO, z::Dual) = dual_show(io, z, true)
end

function Base.read(s::IO, ::Type{Dual{T}}) where T<:ReComp
x = read(s, T)
y = read(s, T)
Expand Down
2 changes: 1 addition & 1 deletion test/automatic_differentiation_test.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using DualNumbers, SpecialFunctions
using Compat
using Compat.Test
using Test
using Compat.LinearAlgebra
import DualNumbers: value
import NaNMath
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using DualNumbers
using Compat
using Compat.Test
using Test

@test checkindex(Bool, 1:3, dual(2))

Expand Down