Skip to content

Commit

Permalink
Make clear what we want...
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Jan 15, 2025
1 parent 79c2ee9 commit daca1db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/env.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace pyarb {
#else
auto err = "Private GPU: Invalid MPI Communicator.";
if (can_convert_to_mpi_comm(mpi)) {
return arbenv::find_private_gpu(convert_to_mpi_comm(mpi));
return arbenv::find_private_gpu<MPI_Comm>(convert_to_mpi_comm(mpi));
}
else if (auto c = py2optional<mpi_comm_shim>(mpi, err)) {
return arbenv::find_private_gpu(c->comm);
Expand Down

0 comments on commit daca1db

Please sign in to comment.