Fix bug in calculateSweetSpotType()

Change-Id: I215bc02367e123a73ffc94974e7b1cbec52a25fa
main
Yusuke Nojima 2011-10-03 14:39:40 +09:00
parent ad2dfa7697
commit 5d21c5c6cb
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ ProximityInfo::SweetSpotType ProximityInfo::calculateSweetSpotType(
return UNKNOWN; return UNKNOWN;
} }
const float sweetSpotCenterX = mSweetSpotCenterXs[keyIndex]; const float sweetSpotCenterX = mSweetSpotCenterXs[keyIndex];
const float sweetSpotCenterY = mSweetSpotCenterXs[keyIndex]; const float sweetSpotCenterY = mSweetSpotCenterYs[keyIndex];
const float inputX = (float)mInputXCoordinates[index]; const float inputX = (float)mInputXCoordinates[index];
const float inputY = (float)mInputYCoordinates[index]; const float inputY = (float)mInputYCoordinates[index];
const float squaredDistance = const float squaredDistance =