Removed PtrElemStep, Marked DevMem1D as deprecated, now should use PtrStepSz now
This commit is contained in:
@@ -271,7 +271,7 @@ namespace
|
||||
for (int i = 0; i < nfeatures; ++i)
|
||||
weights[i] *= 1.0f - learningRate_;
|
||||
|
||||
bool inserted = insertFeature(newFeatureColor, learningRate_, colors, weights, nfeatures, maxFeatures_);
|
||||
bool inserted = insertFeature(newFeatureColor, (float)learningRate_, colors, weights, nfeatures, maxFeatures_);
|
||||
|
||||
if (inserted)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user