From e4b08a96222b4c2731f58792464f272a969978a2 Mon Sep 17 00:00:00 2001 From: Justin Lemkul Date: Wed, 16 Mar 2011 11:17:41 -0400 Subject: [PATCH] Made g_sgangle fatal error a bit more verbose. --- src/tools/gmx_sgangle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/gmx_sgangle.c b/src/tools/gmx_sgangle.c index fd21485861..47ab299246 100644 --- a/src/tools/gmx_sgangle.c +++ b/src/tools/gmx_sgangle.c @@ -124,7 +124,7 @@ static void calc_angle(int ePBC,matrix box,rvec x[], atom_id index1[], svmul(0.5,h1,center1); /* center is geometric mean */ break; default: /* group 1 does none of the above */ - gmx_fatal(FARGS,"Something wrong with contents of index file.\n"); + gmx_fatal(FARGS,"Something wrong with contents of index file. Groups should contain 2 or 3 atoms.\n"); } switch(gnx2) -- 2.22.0