diff --git a/examples/preprocessing/packing_2d.jl b/examples/preprocessing/packing_2d.jl index df856a567..11f64c2a7 100644 --- a/examples/preprocessing/packing_2d.jl +++ b/examples/preprocessing/packing_2d.jl @@ -2,7 +2,7 @@ using TrixiParticles using OrdinaryDiffEq filename = "circle" -file = joinpath("examples", "preprocessing", "data", filename * ".asc") +file = pkgdir(TrixiParticles, "examples", "preprocessing", "data", filename * ".asc") # ========================================================================================== # ==== Packing parameters diff --git a/examples/preprocessing/packing_3d.jl b/examples/preprocessing/packing_3d.jl index 9a2b96b96..3864b8b45 100644 --- a/examples/preprocessing/packing_3d.jl +++ b/examples/preprocessing/packing_3d.jl @@ -2,7 +2,7 @@ using TrixiParticles using OrdinaryDiffEq filename = "sphere" -file = joinpath("examples", "preprocessing", "data", filename * ".stl") +file = pkgdir(TrixiParticles, "examples", "preprocessing", "data", filename * ".stl") # ========================================================================================== # ==== Packing parameters