biod.pnpi.spb.ru
/
alexxy
/
gromacs-testing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe8d893
)
index[] + 1
author
Anatoly Titov
<toluk@omrb.pnpi.spb.ru>
Wed, 17 May 2017 08:50:19 +0000
(11:50 +0300)
committer
Anatoly Titov
<toluk@omrb.pnpi.spb.ru>
Wed, 17 May 2017 08:50:19 +0000
(11:50 +0300)
src/spacetimecorr.cpp
patch
|
blob
|
history
diff --git
a/src/spacetimecorr.cpp
b/src/spacetimecorr.cpp
index bc479bc92ab86ac2739a0c04a1ea8b706106ac1c..68fa667235a879c47418e4655b3ec483730118db 100644
(file)
--- a/
src/spacetimecorr.cpp
+++ b/
src/spacetimecorr.cpp
@@
-135,7
+135,7
@@
void make_rout_file(double crl_border, std::vector< int > indx, std::vector< std
std::fprintf(file, "correlations >= %0.2f\n", crl_border);
for (int i = 0; i < rout.size(); i++) {
for (int j = 0; j < rout[i].size(); j++) {
- std::fprintf(file, "%3d ", indx[rout[i][j]]);
+ std::fprintf(file, "%3d ", indx[rout[i][j]]
+ 1
);
}
std::fprintf(file, "\n");
}