Skip to content

Commit

Permalink
fixed rounding error #8
Browse files Browse the repository at this point in the history
  • Loading branch information
wildart committed Jul 28, 2017
1 parent a66b665 commit 087d3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hlle.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function transform{T<:AbstractFloat}(::Type{HLLE}, X::DenseMatrix{T}; d::Int=2,
D, I = find_nn(X, k)

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

0 comments on commit 087d3b1

Please sign in to comment.