Skip to content

Commit

Permalink
minor bugfix
Browse files Browse the repository at this point in the history
SeisData was not accepting SeisChannels as valid types during merge
  • Loading branch information
jpjones76 committed Feb 10, 2017
1 parent 2efe968 commit 29ae571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Types/SeisData.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ type SeisData
function SeisData(U...)
S = SeisData()
for i = 1:1:length(U)
if isa(U[i],SeisData)
if typeof(U[i]) in [SeisChannel,SeisData]
merge!(S, U[i])
else
warn(string("Tried to join incompatible type into SeisData at arg ", i, "; skipped."))
Expand Down

0 comments on commit 29ae571

Please sign in to comment.