Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 59b44017 authored by Matt Casey's avatar Matt Casey
Browse files

Reduce floating point error in PerimeterPathGuide.

Instead of dividing before adding up the lengths, add up the lengths and
then divide.

Before this change, the end point of the last region was not 1.0, after
this change it is.

Bug: 136084565
Test: Verified values via logging. No visible change in behavior.
Change-Id: Iddc87bed3c8b427af41f247589a9f1a99ad03555
parent ad6e5d22
Loading
Loading
Loading
Loading
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