Skip to content

Commit

Permalink
Fix path in test for deps.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnoack committed Jul 11, 2018
1 parent 4294759 commit 63bedcf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Arpack.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ Arnoldi and Lanczos iteration for computing eigenvalues
"""
module Arpack

if isfile("../deps/deps.jl")
include("../deps/deps.jl")
const depsfile = joinpath(@__DIR__, "..", "deps", "deps.jl")

if isfile(depsfile)
include(depsfile)
else
throw(ErrorException("""
No deps.jl file could be found. Please try running Pkg.build("Arpack").
Expand Down

0 comments on commit 63bedcf

Please sign in to comment.