*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015, 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.
/* We only support reading tpx files with the same tag as the code
* or tpx files with the release tag and with lower version number.
*/
- if (!strcmp(file_tag, TPX_TAG_RELEASE) == 0 && fver < tpx_version)
+ if (strcmp(file_tag, TPX_TAG_RELEASE) != 0 && fver < tpx_version)
{
gmx_fatal(FARGS, "tpx tag/version mismatch: reading tpx file (%s) version %d, tag '%s' with program for tpx version %d, tag '%s'",
gmx_fio_getname(fio), fver, file_tag,
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2014, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015, 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.
static void imd_blockconnect(t_gmx_IMD_setup *IMDsetup)
{
/* do not wait for connection, when e.g. ctrl+c is pressed and we will terminate anyways. */
- if (!(int) gmx_get_stop_condition() == gmx_stop_cond_none)
+ if (gmx_get_stop_condition() != gmx_stop_cond_none)
{
return;
}