Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
5d21c5c6
Commit
5d21c5c6
authored
13 years ago
by
Yusuke Nojima
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug in calculateSweetSpotType()
Change-Id: I215bc02367e123a73ffc94974e7b1cbec52a25fa
parent
ad2dfa76
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
native/src/proximity_info.cpp
+1
-1
1 addition, 1 deletion
native/src/proximity_info.cpp
with
1 addition
and
1 deletion
native/src/proximity_info.cpp
+
1
−
1
View file @
5d21c5c6
...
...
@@ -224,7 +224,7 @@ ProximityInfo::SweetSpotType ProximityInfo::calculateSweetSpotType(
return
UNKNOWN
;
}
const
float
sweetSpotCenterX
=
mSweetSpotCenterXs
[
keyIndex
];
const
float
sweetSpotCenterY
=
mSweetSpotCenter
X
s
[
keyIndex
];
const
float
sweetSpotCenterY
=
mSweetSpotCenter
Y
s
[
keyIndex
];
const
float
inputX
=
(
float
)
mInputXCoordinates
[
index
];
const
float
inputY
=
(
float
)
mInputYCoordinates
[
index
];
const
float
squaredDistance
=
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment