#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/smalloc.h"
+#include "gromacs/utility/stringcompare.h"
/* these MUST correspond to the enum in hackblock.h */
const char* btsNames[ebtsNR] = { "bonds", "angles", "dihedrals", "impropers", "exclusions", "cmap" };
* Since we only have the unparsed string here we can only detect
* EXACT matches (including identical whitespace).
*/
- if (b.s != it->s)
+ if (b.s == it->s)
{
gmx_warning("Duplicate line found in or between hackblock and rtp entries");
}