biod.pnpi.spb.ru
/
alexxy
/
gromacs-colorvec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
930720f
)
- fixed a bug with sel_[1 and 2]
author
Anatoly
<Titov_AI@pnpi.nrcki.ru>
Wed, 21 Oct 2020 15:14:03 +0000
(18:14 +0300)
committer
Anatoly
<Titov_AI@pnpi.nrcki.ru>
Wed, 21 Oct 2020 15:14:03 +0000
(18:14 +0300)
src/colorvec.cpp
patch
|
blob
|
history
diff --git
a/src/colorvec.cpp
b/src/colorvec.cpp
index 34b4d57992fb6e65ab50b72bf052c1a0efb5e03a..b3193ad1f5bd60ff95d99ab879844d7e9044b720 100644
(file)
--- a/
src/colorvec.cpp
+++ b/
src/colorvec.cpp
@@
-426,7
+426,7
@@
colorVec::initAnalysis( const gmx::TrajectoryAnalysisSettings &settings,
}
// считывание индекса
indexCA.resize(0);
- for (gmx::ArrayRef< const int >::iterator ai {sel_[1].atomIndices().begin()}; (ai < sel_[
2
].atomIndices().end()); ai++) {
+ for (gmx::ArrayRef< const int >::iterator ai {sel_[1].atomIndices().begin()}; (ai < sel_[
1
].atomIndices().end()); ai++) {
index.push_back(static_cast< size_t >(*ai));
}
// считывание красок