Skip to content

Commit

Permalink
Don't refer to IterativeEigensolvers or SuiteSparse in Compat.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnoack committed Jun 17, 2018
1 parent 5c1875a commit c2d850a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 49 deletions.
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
IterativeEigensolvers = "de555fa4-b82f-55e7-8b71-53f60bbc027d"
LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand All @@ -22,7 +21,6 @@ Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
SharedArrays = "1a1011a3-84de-559e-8e89-a11a2f7dc383"
Sockets = "6462fe0b-24de-5631-8697-dd941f90decc"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
SuiteSparse = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,6 @@ Currently, the `@compat` macro supports the following syntaxes:
* `using Compat.Printf` is provided on versions older than 0.7, where this library is not
yet a part of the standard library. ([#25056])

* `using Compat.IterativeEigensolvers` is provided on versions older than 0.7, where this
library is not yet a part of the standard library. ([#24714])

* `using Compat.SuiteSparse` is provided on versions older than 0.7, where this library is
not yet part of the standard library ([#24648]).

* `using Compat.SparseArrays` is provided on versions older than 0.7, where this library is
not yet part of the standard library ([#25249]).

Expand Down
25 changes: 0 additions & 25 deletions src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -843,20 +843,6 @@ else
import Printf
end

if VERSION < v"0.7.0-DEV.2655"
@eval module IterativeEigensolvers
using Base: eigs, svds
export eigs, svds
end
elseif VERSION < v"0.7.0-DEV.3019"
@eval module IterativeEigensolvers
using IterativeEigenSolvers: eigs, svds
export eigs, svds
end
else
import IterativeEigensolvers
end

@static if VERSION < v"0.7.0-DEV.3449"
const LinearAlgebra = Base.LinAlg
else
Expand All @@ -881,17 +867,6 @@ else
import Markdown
end

if VERSION < v"0.7.0-DEV.2609"
@eval module SuiteSparse
if Base.USE_GPL_LIBS
using Compat.SparseArrays: CHOLMOD, SPQR, UMFPACK
end
using Compat.SparseArrays: increment, increment!, decrement, decrement!
end
else
import SuiteSparse
end

@static if VERSION < v"0.7.0-DEV.3500"
const REPL = Base.REPL
else
Expand Down
16 changes: 0 additions & 16 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -888,22 +888,6 @@ module Test25056
end

# 0.7
module Test24714
using Compat
using Compat.Test
using Compat.IterativeEigensolvers
@test isdefined(@__MODULE__, :IterativeEigensolvers)
@test isdefined(@__MODULE__, :eigs)
@test isdefined(@__MODULE__, :svds)
end

# 0.7
module Test24648
using Compat
using Compat.Test
using Compat.SuiteSparse
@test isdefined(@__MODULE__, :SuiteSparse)
end

let a = [0,1,2,3,0,1,2,3]
# curried isequal
Expand Down

0 comments on commit c2d850a

Please sign in to comment.