Unverified Commit a17633bd authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

use open_potential in pair style coul/streitz

parent c5cd1081
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -249,7 +249,7 @@ void PairCoulStreitz::read_file(char *file)

  FILE *fp;
  if (comm->me == 0) {
    fp = fopen(file,"r");
    fp = force->open_potential(file);
    if (fp == NULL)
      error->one(FLERR,fmt::format("Cannot open coul/streitz potential "
                                   "file {}",file));