Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix incorrect implementation of pingpong #72

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

Sheepolution
Copy link
Contributor

Taken from lume.

Old:

print(mathx.pingpong(100)) -- -198
print(mathx.pingpong(101)) -- -200

New:

print(mathx.pingpong(100)) -- 0
print(mathx.pingpong(101)) -- 1

@1bardesign 1bardesign merged commit 63294a6 into 1bardesign:master Feb 19, 2024
2 checks passed
@1bardesign
Copy link
Owner

🎉

1bardesign added a commit that referenced this pull request Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants