Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Commit 23e78db

Browse files
Merge pull request #1 from JuliaDiffEq/tk/nopkgdir
use dirname(@__FILE__) instead of Pkg.dir
2 parents 4e753e5 + 63c1d1e commit 23e78db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/premades/premade_meshes.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
###Example Meshes
3-
pkgdir = Pkg.dir("FiniteElementDiffEq")
4-
meshes_location = "src/premades/premade_meshes.jld"
3+
pkgdir = dirname(@__FILE__)
4+
meshes_location = "premade_meshes.jld"
55
"`meshExample_bunny()` : Returns a 3D SimpleMesh."
66
meshExample_bunny() = Main.JLD.load("$pkgdir/$meshes_location","bunny")
77

0 commit comments

Comments
 (0)