Fixed enemat when .edr had no matching energy groups
authorMark Abraham <mark.j.abraham@gmail.com>
Mon, 21 May 2018 17:07:25 +0000 (19:07 +0200)
committerErik Lindahl <erik.lindahl@gmail.com>
Tue, 5 Jun 2018 12:32:21 +0000 (14:32 +0200)
commitf76f70fba009395839e2dae0dcd81db8865698dd
tree57de0e14202ab72ec7a2b7203fbb80ad6d33b9f6
parente9ec0b11c0ffae1c3e0f64d70b789cc256449880
Fixed enemat when .edr had no matching energy groups

Removed some debug output that obscured both the code and the useful
user-facing warnings.

Used a simpler bool construct to decide whether to issue the warning.

Fixes #2508

Change-Id: Ife56264991e365f8f5ca3b1285caea8033da7584
docs/release-notes/2018/2018.2.rst
src/gromacs/gmxana/gmx_enemat.cpp