Skip to content

Commit

Permalink
updated imports from Base
Browse files Browse the repository at this point in the history
  • Loading branch information
jpjones76 committed Aug 12, 2018
1 parent 8a047e5 commit 64b9028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Types/SeisData.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Base:in, getindex, setindex!, append!, deleteat!, delete!, +, -, *, isequal,
length, start, done, next, size, sizeof, ==, isempty, sort!, sort, endof
length, size, sizeof, ==, isempty, sort!, sort, lastindex

# This is type-stable for S = SeisData() but not for keyword args
mutable struct SeisData
Expand Down Expand Up @@ -86,7 +86,7 @@ SeisData(n::Int) = n > 0 ? SeisData(UInt(n)) : SeisData()
# s = S[j] returns a SeisChannel struct
# s = S[i:j] returns a SeisData struct
# S[i:j].foo = bar won't work
endof(S::SeisData) = S.n
lastindex(S::SeisData) = S.n

function getindex(S::SeisData, J::Array{Int,1})
U = SeisData()
Expand Down

0 comments on commit 64b9028

Please sign in to comment.