Fix bug in calculateSweetSpotType()
Change-Id: I215bc02367e123a73ffc94974e7b1cbec52a25famain
parent
ad2dfa7697
commit
5d21c5c6cb
|
@ -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 =
|
||||||
|
|
Loading…
Reference in New Issue