Skip to content

Commit

Permalink
Add direct_gpu!() to compatibility.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
rymanderson committed Jul 16, 2024
1 parent 72f6fc8 commit 9d12635
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/compatibility.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,12 @@ function B2M!(system, branch, bodies_index, harmonics, expansion_order)
return nothing
end

function direct!(target_system, target_indices, derivatives_switch, source_system, source_index)
function direct!(target_system, target_index, derivatives_switch, source_system, source_index)
@warn "direct! function not overloaded for type $(typeof(source_system)); interaction ignored"
return nothing
end

function direct_gpu!(target_system, target_indices, derivatives_switch, source_system, source_indices)
@warn "direct_gpu! function not overloaded for type $(typeof(source_system)); interaction ignored"
return nothing
end

0 comments on commit 9d12635

Please sign in to comment.