Skip to content

Commit d401224

Browse files
authored
Update VecchiaMLE_NLPModel.jl
1 parent 3118b9d commit d401224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/VecchiaMLE_NLPModel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ end
3838

3939
# Only two modes instantiated!!
4040
VecchiaModelCPU(samples::Matrix{T}, k::Int, xyGrid::AbstractVector) where {T <: AbstractFloat} = VecchiaModel(Vector{Float64}, samples::Matrix{Float64}, k::Int, xyGrid::AbstractVector)
41-
VecchiaModelGPU(samples::CuMatrix{Float64}, k::Int, xyGrid::AbstractVector) = VecchiaModel(CuVector{Float64}, samples::AbstractMatrix, k::Int, xyGrid::AbstractVector)
41+
VecchiaModelGPU(samples::CuMatrix{Float64,B}, k::Int, xyGrid::AbstractVector) where {B} = VecchiaModel(CuVector{Float64,B}, samples::AbstractMatrix, k::Int, xyGrid::AbstractVector)
4242

4343
# Constructing the vecchia cache used everywhere in the code below.
4444
function create_vecchia_cache(samples::AbstractMatrix, k::Int, ptGrid::AbstractVector, ::Type{S}) where {S <: AbstractVector}

0 commit comments

Comments
 (0)