From 9c84fe8830b37e6db81761acdced8b624c5e565b Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Thu, 27 Aug 2020 17:45:47 -0400 Subject: [PATCH] Add missing lammps_extract_compute.argtypes --- python/lammps.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/lammps.py b/python/lammps.py index 565b89cfd9..f552328cbb 100644 --- a/python/lammps.py +++ b/python/lammps.py @@ -281,6 +281,8 @@ class lammps(object): self.lib.lammps_get_last_error_message.argtypes = [c_void_p, c_char_p, c_int] self.lib.lammps_get_last_error_message.restype = c_int + self.lib.lammps_extract_compute.argtypes = [c_void_p, c_char_p, c_int, c_int] + # detect if Python is using version of mpi4py that can pass a communicator self.has_mpi4py = False