biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix cppcheck 1.64 warnings
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxana
/
gmx_confrms.c
diff --git
a/src/gromacs/gmxana/gmx_confrms.c
b/src/gromacs/gmxana/gmx_confrms.c
index 37f90b9d08ab54fb5151dff90763bb23c0e25825..82bc68263bacef23695b0d96df1683ff6c1c1a61 100644
(file)
--- a/
src/gromacs/gmxana/gmx_confrms.c
+++ b/
src/gromacs/gmxana/gmx_confrms.c
@@
-176,7
+176,7
@@
int find_next_match_atoms_in_res(int *i1, atom_id index1[],
{
if (debug)
{
- fprintf(debug, "{%d %d}", *i1
+bFW ? dx : dy, *i2+bFW ? dy : dx
);
+ fprintf(debug, "{%d %d}", *i1
+ (bFW ? dx : dy), *i2 + (bFW ? dy : dx)
);
}
if (bFW)
{