Skip to content

Commit c43271c

Browse files
committed
dev
1 parent 8d6ba81 commit c43271c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/spectra.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function spectra( X :: Union{Vector{T}, Matrix{T}},
4848
⏩ :: Bool = true) where T<:Real
4949
5050
(2)
51-
function spectra( 𝐗 :: Vector{Matrix{T}},
51+
function spectra( 𝐗 :: Union{Vector{Vector{T}}, Vector{Matrix{T}}},
5252
< same argument sr, ..., ⏩ of method (1) > where T<:Real
5353
```
5454
@@ -367,7 +367,7 @@ end
367367

368368

369369

370-
function spectra( 𝐗 :: Vector{Matrix{T}},
370+
function spectra( 𝐗 :: Union{Vector{Vector{T}}, Vector{Matrix{T}}},
371371
sr :: Int,
372372
wl :: Int;
373373
tapering :: Union{Taper, TaperKind} = harris4,
@@ -390,7 +390,7 @@ function spectra( 𝐗 :: Vector{Matrix{T}},
390390
# allocate memory for spectra : 𝗦 is a k-Vector of Spectra objects
391391
𝗦 = SpectraVector(undef, k)
392392

393-
# function to compute spectra for the ith input data matrix `𝐗[i]`
393+
# function to compute spectra for the ith input data vector or matrix `𝐗[i]`
394394
sp!(i, ⏩) = 𝗦[i]=spectra(𝐗[i],
395395
sr,
396396
wl;

0 commit comments

Comments
 (0)