Skip to content

Commit

Permalink
fix indentation in LibV1
Browse files Browse the repository at this point in the history
  • Loading branch information
anilbey committed Oct 19, 2023
1 parent 536e45b commit bd8b522
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions efel/cppcore/LibV1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1004,13 +1004,13 @@ static int __time_constant(const vector<double>& v, const vector<double>& t,
// find start of the decay
int i_start = 0;
while (find_if(dvdt.begin() + i_start, dvdt.begin() + i_start + 5,
[min_derivative](double val) { return val > -min_derivative; }) !=
dvdt.begin() + i_start + 5) {
if (dvdt.begin() + i_start + 5 == dvdt.end()) {
GErrorStr += "Could not find the decay.\n";
return -1;
}
i_start++;
[min_derivative](double val) { return val > -min_derivative; }) != dvdt.begin() + i_start + 5)
{
if (dvdt.begin() + i_start + 5 == dvdt.end()) {
GErrorStr += "Could not find the decay.\n";
return -1;
}
i_start++;
}
// find the flat
// bool foundflat = false;
Expand Down

0 comments on commit bd8b522

Please sign in to comment.