Fix bug in calculateSweetSpotType()

Change-Id: I215bc02367e123a73ffc94974e7b1cbec52a25fa
This commit is contained in:
Yusuke Nojima 2011-10-03 14:39:40 +09:00
parent ad2dfa7697
commit 5d21c5c6cb

View file

@ -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 =