Commit 1b4068b5 authored by Stan Moore's avatar Stan Moore
Browse files

Restore workaround for compiler bug in pair_snap.h

parent ce4a446c
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -37,8 +37,11 @@ public:
  virtual double init_one(int, int);
  virtual double memory_usage();

  double rcutfac, quadraticflag; // declared public to workaround gcc 4.9
  int ncoeff;                    //  compiler bug, manifest in KOKKOS package

protected:
  int ncoeff, ncoeffq, ncoeffall;
  int ncoeffq, ncoeffall;
  double **bvec, ***dbvec;
  class SNA** sna;
  int nmax;
@@ -97,8 +100,8 @@ protected:
  double *wjelem;               // elements weights
  double **coeffelem;           // element bispectrum coefficients
  int *map;                     // mapping from atom types to elements
  int twojmax, diagonalstyle, switchflag, bzeroflag, quadraticflag;
  double rcutfac, rfac0, rmin0, wj1, wj2;
  int twojmax, diagonalstyle, switchflag, bzeroflag;
  double rfac0, rmin0, wj1, wj2;
  int rcutfacflag, twojmaxflag; // flags for required parameters
};