Skip to content
Snippets Groups Projects
Commit 18a51239 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: wrong cast type

parent 38605bd8
Branches
Tags
No related merge requests found
...@@ -207,7 +207,7 @@ typename NeuralNetworkMachineLearningModel<TInputValue, TOutputValue>::TargetSam ...@@ -207,7 +207,7 @@ typename NeuralNetworkMachineLearningModel<TInputValue, TOutputValue>::TargetSam
if (quality != NULL) if (quality != NULL)
{ {
(*quality) = static_cast<double>(maxResponse) - static_cast<ConfidenceValueType>(secondResponse); (*quality) = static_cast<ConfidenceValueType>(maxResponse) - static_cast<ConfidenceValueType>(secondResponse);
} }
return target; return target;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment