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:
4db2b7a
)
- minor change
author
Anatoly
<Titov_AI@pnpi.nrcki.ru>
Wed, 21 Oct 2020 16:06:29 +0000
(19:06 +0300)
committer
Anatoly
<Titov_AI@pnpi.nrcki.ru>
Wed, 21 Oct 2020 16:06:29 +0000
(19:06 +0300)
src/colorvec.cpp
patch
|
blob
|
history
diff --git
a/src/colorvec.cpp
b/src/colorvec.cpp
index 94fad4042960fffe1b6214c67c7457e9ada6fc02..4d807ad681520b49354bd93d42673c0bc605f34e 100644
(file)
--- a/
src/colorvec.cpp
+++ b/
src/colorvec.cpp
@@
-298,6
+298,7
@@
void anglesFileDump(const int frameNum, const std::string &output, const std::ve
if (temp == 0) {
file << std::setw(4) << 0;
} else {
+ betaTemp.resize(0);
betaTemp.resize(6, 0.); // magic number, meh
for (size_t j = 0; j < colorFormation[i].betaAngles.size(); ++j) {
betaTemp[j % 6] += colorFormation[i].betaAngles[j];