Skip to content

Commit

Permalink
vector
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Aug 11, 2024
1 parent 765264e commit ef27ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SVRfunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Return:
function predict(pmodel::svmmodel, x::AbstractArray{Float64})
nn = size(x, 1)
nx = size(x, 2)
y = Array{Float64}(undef, nx)
y = Vector{Float64}(undef, nx)
if pmodel.plibsvmmodel != Ptr{svm_model}(C_NULL)
nn2, nx2 = size(pmodel.nodes)
if nn2 - 1 != nn
Expand Down

0 comments on commit ef27ae8

Please sign in to comment.