Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Difficulty Calculation] StrainSolverData not cleared when computing the 2nd round (right-hand favored difficulty )for 7k #181

Open
WilliamQiufeng opened this issue Aug 18, 2024 · 0 comments

Comments

@WilliamQiufeng
Copy link
Member

OverallDifficulty = (ComputeForOverallDifficulty(rate, Hand.Left) + ComputeForOverallDifficulty(rate, Hand.Right) ) / 2;

In the second ComputeForOverallDifficulty call, StrainSolverData is not cleared when it's supposed to in

private void ComputeBaseStrainStates(float rate, Hand assumeHand)

This causes an issue where, during the calculation for right-hand favored 7k difficulty rating, the left-hand favored patterns would also be considered.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant