*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2017, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
rvec x[], int nca,
int caindex[], gmx_bool bFit)
{
- static rvec *xref = NULL;
- static real *mass = NULL;
+ static rvec *xref = nullptr;
+ static real *mass = nullptr;
const real d = 0.15; /* Rise per residue (nm) */
const real tw = 1.745; /* Twist per residue (rad) */
const real rad = 0.23; /* Radius of the helix (nm) */
gmx_fatal(FARGS, "Need at least 3 Calphas to fit to, (now %d)...\n", nca);
}
- if (xref == NULL)
+ if (xref == nullptr)
{
snew(xref, natoms);
snew(mass, natoms);