Skip to content

Commit 087d3b1

Browse files
committed
fixed rounding error #8
1 parent a66b665 commit 087d3b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hlle.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function transform{T<:AbstractFloat}(::Type{HLLE}, X::DenseMatrix{T}; d::Int=2,
4343
D, I = find_nn(X, k)
4444

4545
# Obtain tangent coordinates and develop Hessian estimator
46-
hs = Int(d*(d+1)/2)
46+
hs = round(Int, d*(d+1)/2)
4747
W = spzeros(hs*n,n)
4848
for i=1:n
4949
# re-center points in neighborhood

0 commit comments

Comments
 (0)