Skip to content

Commit

Permalink
fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
vandenman committed Jan 13, 2025
1 parent 932c9a6 commit 42e0cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/postprocess_samples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function compute_model_counts(partition_samples::AbstractMatrix{T}, add_missing_
end
end
end
return sort!(OrderedCollections.OrderedDict(res); byvalue=true, rev = true)
return sort!(OrderedCollections.OrderedDict(res); byvalue = true, rev = true)
end

function compute_model_counts(x::Union{IntegratedResult, RJMCMCResult, EnumerateThenSampleResult},
Expand Down Expand Up @@ -121,7 +121,7 @@ function compute_incl_counts(partition_samples::AbstractMatrix{T}; add_missing_i
get!(res, T(i), zero(Int))
end
end
return sort(res; rev = true)
return sort!(OrderedCollections.OrderedDict(res); byvalue = true, rev = true)
end

"""
Expand Down

0 comments on commit 42e0cef

Please sign in to comment.