git-svn-id: svn://db.shs.com.ru/libs@384 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2018-05-23 12:28:59 +00:00
parent e76a5fde23
commit d239704cfa

View File

@@ -67,9 +67,9 @@ CDType & CDType::operator =(double x) {
val += avg_h[i];
val /= avg_h.size();
avg_h.clear();
if (history.size() < cd_x_history_max_size)
history << val;
}
if (history.size() < cd_x_history_max_size)
history << val;
}
return *this;
}