Skip to content
Snippets Groups Projects
Commit 5d21c5c6 authored by Yusuke Nojima's avatar Yusuke Nojima
Browse files

Fix bug in calculateSweetSpotType()

Change-Id: I215bc02367e123a73ffc94974e7b1cbec52a25fa
parent ad2dfa76
No related branches found
No related tags found
No related merge requests found
......@@ -224,7 +224,7 @@ ProximityInfo::SweetSpotType ProximityInfo::calculateSweetSpotType(
return UNKNOWN;
}
const float sweetSpotCenterX = mSweetSpotCenterXs[keyIndex];
const float sweetSpotCenterY = mSweetSpotCenterXs[keyIndex];
const float sweetSpotCenterY = mSweetSpotCenterYs[keyIndex];
const float inputX = (float)mInputXCoordinates[index];
const float inputY = (float)mInputYCoordinates[index];
const float squaredDistance =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment