Skip to content

Commit 238c618

Browse files
authored
Only include Julia files in src/algorithms (#81)
1 parent 26a9a64 commit 238c618

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/MultiObjectiveAlgorithms.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,11 @@ function _project(x::Vector{Float64}, axis::Int)
631631
end
632632

633633
for file in readdir(joinpath(@__DIR__, "algorithms"))
634-
include(joinpath(@__DIR__, "algorithms", file))
634+
# The check for .jl is necessary because some users may have other files
635+
# like .cov from running code coverage. See JuMP.jl#3746.
636+
if endswith(file, ".jl")
637+
include(joinpath(@__DIR__, "algorithms", file))
638+
end
635639
end
636640

637641
end

0 commit comments

Comments
 (0)