Skip to content

Commit

Permalink
Only include Julia files in src/algorithms (#81)
Browse files Browse the repository at this point in the history
odow authored May 16, 2024
1 parent 26a9a64 commit 238c618
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/MultiObjectiveAlgorithms.jl
Original file line number Diff line number Diff line change
@@ -631,7 +631,11 @@ function _project(x::Vector{Float64}, axis::Int)
end

for file in readdir(joinpath(@__DIR__, "algorithms"))
include(joinpath(@__DIR__, "algorithms", file))
# The check for .jl is necessary because some users may have other files
# like .cov from running code coverage. See JuMP.jl#3746.
if endswith(file, ".jl")
include(joinpath(@__DIR__, "algorithms", file))
end
end

end

0 comments on commit 238c618

Please sign in to comment.