Skip to content

Commit

Permalink
reference Base functions explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
tiemvanderdeure committed Dec 1, 2023
1 parent f9823ae commit 1cd9062
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ensemble.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function select(
end

function Base.show(io::IO, mime::MIME"text/plain", ensemble::SDMensemble)
println(io, "SDMensemble with $(length(ensemble)) models")
println(io, "SDMensemble with $(Base.length(ensemble)) models")

println(io, "Model performance:")

Expand Down Expand Up @@ -102,8 +102,8 @@ function sdm(

@assert Tables.istable(presences) && Tables.istable(absence)

n_presence = length(Tables.rows(presences)) ##
n_absence = length(Tables.rows(absence))
n_presence = Base.length(Tables.rows(presences)) ##
n_absence = Base.length(Tables.rows(absence))
n_total = n_presence + n_absence

# merge presence and absence data into one namedtuple of vectors
Expand Down

0 comments on commit 1cd9062

Please sign in to comment.