You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: LoadError: MethodError: no method matching fourDVar(::Vector{Int64}, ::Matrix{Bool}, ::ModelMatrix{Matrix{Float64}}, ::Matrix{Float64}, ::Matrix{Float64}, ::Matrix{Int64}, ::Int64, ::StepRange{Int64, Int64})
You might have used a 2d row vector where a 1d column vector was required.
Note the difference between 1d column vector [1,2,3] and 2d row vector [1 2 3].
You can convert to a column vector with the vec() function.
Closest candidates are:
fourDVar(::AbstractVector, ::Any, ::Any, **::AbstractVector**, **::AbstractVector**, ::Any, ::Any, ::Any; innerloops, outerloops, tol)
in particular yo and R are defined as AbstractVector in fourDVar function defined in fourDVar.jl
while in example.ipynb they are defined as Matrix{Float64}
m=1;
R = 0.1 * Matrix(I, m, m)
no = 10:5:nmax
yo = randn(m, length(no))
Thank you in advance for your support!
The text was updated successfully, but these errors were encountered:
Hi,
I found in this line of example.ipynb
xai, = fourDVar(xi, Pi, ℳ, yo, R, H, nmax, no);
this error
in particular yo and R are defined as AbstractVector in fourDVar function defined in fourDVar.jl
while in example.ipynb they are defined as Matrix{Float64}
Thank you in advance for your support!
The text was updated successfully, but these errors were encountered: