We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f57a73 commit 3c8b9b0Copy full SHA for 3c8b9b0
src/steadystate.jl
@@ -403,7 +403,7 @@ function _steadystate_fourier(
403
# Create initial vector with GPU support
404
v0 = _dense_similar(L_0_mat, n_fourier * N)
405
fill!(v0, zero(T))
406
- allowed_setindex!(v0, weight, n_max*N+1) # Safe GPU indexing scalar indexing is not allowed in GPU
+ v0[n_max * N + 1 : n_max * N + 1] .= weight
407
408
# Handle preconditioners
409
(haskey(kwargs, :Pl) || haskey(kwargs, :Pr)) && error("The use of preconditioners must be defined in the solver.")
0 commit comments