Skip to content

Commit 45eaa24

Browse files
committed
remove TriangularDist
1 parent 51441d2 commit 45eaa24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/univariate.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
immutable UnivariateKDE{R<:Range}
33
x::R
44
density::Vector{Float64}
5-
end
5+
en
66

77
# construct kernel from bandwidth
88
kernel_dist(::Type{Normal},w::Real) = Normal(0.0,w)
99
kernel_dist(::Type{Uniform},w::Real) = (s = 1.7320508075688772*w; Uniform(-s,s))
1010

11-
typealias LocationScale Union(Laplace,Logistic,TriangularDist)
11+
typealias LocationScale Union(Laplace,Logistic)
1212
kernel_dist{D}(::Type{D},w::Real) = (s = w/std(D(0.0,1.0)); D(0.0,s))
1313

1414

0 commit comments

Comments
 (0)