Skip to content

Commit

Permalink
Fix sorting in comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
cstjean committed Apr 24, 2018
1 parent ea4b41c commit ebade75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FProfile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ function flat(pd1::ProfileData, pd2::ProfileData; _module=nothing, kwargs...)
df2 = flat(pd2; _module=_module, kwargs...)
combineby_ind = _module === nothing ? 2 : 3
df = FProfile.my_outer_join(df1, df2, names(df1)[combineby_ind:end])
return sort(df, cols=names(df)[3], rev=true)
return sort(df, names(df)[3], rev=true)
end

flat(pd1::ProfileData, pd2::ProfileData, _module::Tuple; kwargs...) =
Expand Down

0 comments on commit ebade75

Please sign in to comment.