The return value was always true, which was harmless, since it
could only cause a small performance hit of useless sorting.
Fixes #1387
Change-Id: I088a3747ddb3517fbb5e416b791bd542bd49fed2
#endif
-/* Returns if the are bonded interactions for free energy calculations */
+/* Returns if there are perturbed bonded interactions */
GMX_LIBGMX_EXPORT
gmx_bool gmx_mtop_bondeds_free_energy(const gmx_mtop_t *mtop);
}
}
- return (bPert ? ilsortFE_UNSORTED : ilsortNO_FE);
+ return bPert;
}
void gmx_sort_ilist_fe(t_idef *idef, const real *qA, const real *qB)