git-svn-id: svn://db.shs.com.ru/libs@384 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -67,9 +67,9 @@ CDType & CDType::operator =(double x) {
|
|||||||
val += avg_h[i];
|
val += avg_h[i];
|
||||||
val /= avg_h.size();
|
val /= avg_h.size();
|
||||||
avg_h.clear();
|
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;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user