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

removes hypot, changes function calls #6537

Merged
merged 1 commit into from
Nov 9, 2023
Merged

removes hypot, changes function calls #6537

merged 1 commit into from
Nov 9, 2023

Conversation

diyaayay
Copy link
Contributor

@diyaayay diyaayay commented Nov 8, 2023

Resolves #6536

Changes:
Removes hypot() from calculation.js and replace calls to it (from definitions of dist() and mag() ) to Math.hypot() .

Screenshots of the change:

PR Checklist

Copy link

welcome bot commented Nov 8, 2023

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

Copy link
Collaborator

@GregStanton GregStanton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! If the existing tests pass, I think we're all set on this one.

Copy link
Contributor

@davepagurek davepagurek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me too!

@davepagurek davepagurek merged commit e9266b1 into processing:main Nov 9, 2023
2 checks passed
@davepagurek
Copy link
Contributor

@all-contributors please add @diyaayay for code

Copy link
Contributor

@davepagurek

I've put up a pull request to add @diyaayay! 🎉

@diyaayay diyaayay deleted the fix/6536 branch November 9, 2023 17:51
@diyaayay diyaayay restored the fix/6536 branch November 9, 2023 17:51
@diyaayay diyaayay deleted the fix/6536 branch November 9, 2023 17:51
@diyaayay diyaayay restored the fix/6536 branch November 9, 2023 17:51
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.

Replace hypot() in calculation.js with Math.hypot()
3 participants