Unverified Commit 155e7de8 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

fix bug in lammps_has_style()

parent cc86214f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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;
}

/* ---------------------------------------------------------------------- */