mirror of
https://github.com/Doctorado-ML/FImdlp.git
synced 2025-08-18 08:55:51 +00:00
Refactor base algorithm
This commit is contained in:
@@ -13,7 +13,7 @@ namespace FImdlp {
|
||||
int n = X.size();
|
||||
for (i = 1; i < n; i++) {
|
||||
if (X.at(i) != ant) {
|
||||
cutPts.push_back(float(X.at(i) + ant) / 2);
|
||||
cutPts.push_back(precision_t(X.at(i) + ant) / 2);
|
||||
ant = X.at(i);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user