fix bug in lammps_has_style()
This commit is contained in:
@ -3795,7 +3795,7 @@ Valid categories are: *atom*\ , *integrate*\ , *minimize*\ ,
|
||||
int lammps_has_style(void *handle, const char *category, const char *name) {
|
||||
LAMMPS *lmp = (LAMMPS *) handle;
|
||||
Info info(lmp);
|
||||
return info.has_style(category, name) ? 0 : 1;
|
||||
return info.has_style(category, name) ? 1 : 0;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user