JuliaStats / TimeSeries.jl

Time series toolkit for Julia
Other
353 stars 69 forks source link

timearray: fix `inbounds` handling #425

Closed iblislin closed 5 years ago

iblislin commented 5 years ago

E.g.

julia> f(ta) = @inbounds ta[1000]
f (generic function with 1 method)

julia> f(cl)
1×1 TimeArray{Float64,1,Date,Array{Float64,1}} 40636496360509-30141738682531949-3689348814741910343 to 40636496360509-30141738682531949-3689348814741910343
│                                                      │ Close │
├──────────────────────────────────────────────────────┼───────┤
│ 40636496360509-30141738682531949-3689348814741910343 │ 0.0   │
codecov-io commented 5 years ago

Codecov Report

Merging #425 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #425   +/-   ##
=======================================
  Coverage   85.89%   85.89%           
=======================================
  Files          10       10           
  Lines         468      468           
=======================================
  Hits          402      402           
  Misses         66       66
Impacted Files Coverage Δ
src/timearray.jl 95.04% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4449044...0feafbe. Read the comment docs.