Skip to content

Commit

Permalink
Merge pull request #10 from diegozea/patch-1
Browse files Browse the repository at this point in the history
RFC: amap was deprecated, using mapslices instead
  • Loading branch information
johnmyleswhite committed May 29, 2013
2 parents 9cd2292 + b9fa738 commit c5677e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stats.jl
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ module Stats
end
tiedrank(X::AbstractMatrix) = tiedrank(reshape(X, length(X)))
function tiedrank(X::AbstractMatrix, dim::Int)
retmat = apply(hcat, amap(tiedrank, X, 3 - dim))
retmat = apply(hcat, mapslices(tiedrank, X, 3 - dim))
return dim == 1 ? retmat : retmat'
end

Expand Down

0 comments on commit c5677e9

Please sign in to comment.