Skip to content

Commit

Permalink
fix bug in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkilic committed Apr 8, 2024
1 parent f7e8665 commit 384e6b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions efel/cppcore/LibV3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ static int __depolarized_base(const vector<double>& t, const vector<double>& v,
baseValue += v[k];
++nPt;
}
if (nPt > 0) {
baseValue /= nPt;
dep_base.push_back(baseValue);
}
}
if (nPt > 0) {
baseValue /= nPt;
dep_base.push_back(baseValue);
}
}
return dep_base.size();
Expand Down

0 comments on commit 384e6b9

Please sign in to comment.