Commit 18a51239 authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: wrong cast type

parent 38605bd8
......@@ -207,7 +207,7 @@ typename NeuralNetworkMachineLearningModel<TInputValue, TOutputValue>::TargetSam
if (quality != NULL)
{
(*quality) = static_cast<double>(maxResponse) - static_cast<ConfidenceValueType>(secondResponse);
(*quality) = static_cast<ConfidenceValueType>(maxResponse) - static_cast<ConfidenceValueType>(secondResponse);
}
return target;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment