Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy authored Jun 27, 2024
1 parent c98a8a6 commit b0955ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ end
end

function lammps_open(argc, argv, comm, ptr)
ccall((:lammps_open, liblammps), Ptr{Cvoid}, (Cint, Ptr{Ptr{Cchar}}, Cint, Ptr{Ptr{Cvoid}}), argc, argv, comm, ptr)
ccall((:lammps_open, liblammps), Ptr{Cvoid}, (Cint, Ptr{Ptr{Cchar}}, MPI_Comm, Ptr{Ptr{Cvoid}}), argc, argv, comm, ptr)
end

function lammps_open_no_mpi(argc, argv, ptr)
Expand Down Expand Up @@ -128,7 +128,7 @@ function lammps_memory_usage(handle, meminfo)
end

function lammps_get_mpi_comm(handle)
ccall((:lammps_get_mpi_comm, liblammps), Cint, (Ptr{Cvoid},), handle)
ccall((:lammps_get_mpi_comm, liblammps), MPI_Comm, (Ptr{Cvoid},), handle)
end

function lammps_extract_setting(handle, keyword)
Expand Down

0 comments on commit b0955ce

Please sign in to comment.