Skip to content

Commit

Permalink
approx in test
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Mar 30, 2020
1 parent f5b5c1e commit b595056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ end
w = ones(10)
m2 = TotalLeastSquares.entrywise_trimmed_mean(s,w,U,0.1)
for i in eachindex(m2)
@test m2[i] == mean(StatsBase.trim(U[i,:], prop=0.1))
@test m2[i] mean(StatsBase.trim(U[i,:], prop=0.1))
end

r = 3; ϵ = 1e-8
Expand Down

0 comments on commit b595056

Please sign in to comment.