From 9217085608fd0bec179299be242a3069e73246f7 Mon Sep 17 00:00:00 2001 From: Joroks Date: Thu, 27 Jun 2024 23:57:42 +0200 Subject: [PATCH] revert manual changes to API.jl --- src/api.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api.jl b/src/api.jl index c6f5254..d9571e6 100644 --- a/src/api.jl +++ b/src/api.jl @@ -17,13 +17,13 @@ import MPI: MPI_Comm LAMMPS_STRING = 6 end -@cenum _LMP_STYLE_CONST::Int32 begin +@cenum _LMP_STYLE_CONST::UInt32 begin LMP_STYLE_GLOBAL = 0 LMP_STYLE_ATOM = 1 LMP_STYLE_LOCAL = 2 end -@cenum _LMP_TYPE_CONST::Int32 begin +@cenum _LMP_TYPE_CONST::UInt32 begin LMP_TYPE_SCALAR = 0 LMP_TYPE_VECTOR = 1 LMP_TYPE_ARRAY = 2 @@ -32,7 +32,7 @@ end LMP_SIZE_COLS = 5 end -@cenum _LMP_ERROR_CONST::Int32 begin +@cenum _LMP_ERROR_CONST::UInt32 begin LMP_ERROR_WARNING = 0 LMP_ERROR_ONE = 1 LMP_ERROR_ALL = 2