Skip to content

Commit

Permalink
Don't use checknan keyword argument
Browse files Browse the repository at this point in the history
  • Loading branch information
simonster committed Oct 8, 2014
1 parent 74e8095 commit d6b524c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scalarstats.jl
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function mad!{T<:Real}(v::AbstractArray{T}, center::Real)
for i in 1:length(v)
v[i] = abs(v[i]-center)
end
1.4826 * median!(v, checknan=false)
1.4826 * median!(v)
end

mad!{T<:Real}(v::AbstractArray{T}) = mad!(v, median!(v))
Expand Down

0 comments on commit d6b524c

Please sign in to comment.