Title: Add latitude and longitude validation to lamberts_ellipsoidal_distance by galleazzijuniorsoftwareenginer · Pull Request #14373 · TheAlgorithms/Python · GitHub
Open Graph Title: Add latitude and longitude validation to lamberts_ellipsoidal_distance by galleazzijuniorsoftwareenginer · Pull Request #14373 · TheAlgorithms/Python
X Title: Add latitude and longitude validation to lamberts_ellipsoidal_distance by galleazzijuniorsoftwareenginer · Pull Request #14373 · TheAlgorithms/Python
Description: Description This pull request adds validation for latitude and longitude values in the lamberts_ellipsoidal_distance function. ✅ Allow edits by maintainers Changes Added validation for latitude values (-90 to 90) Added validation for longitude values (-180 to 180) Added doctest examples to ensure correct error handling Motivation These validations prevent invalid geographic coordinates from being used in the distance calculation, improving robustness and reliability of the function. Type of change Improvement Bug fix New feature Documentation update Testing Tested locally using the provided doctests.
Open Graph Description: Description This pull request adds validation for latitude and longitude values in the lamberts_ellipsoidal_distance function. ✅ Allow edits by maintainers Changes Added validation for latitude va...
X Description: Description This pull request adds validation for latitude and longitude values in the lamberts_ellipsoidal_distance function. ✅ Allow edits by maintainers Changes Added validation for latitude va...
Opengraph URL: https://github.com/TheAlgorithms/Python/pull/14373
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:416b6856-6c25-6d49-edb2-aff2fdd80e41 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A44C:5592:3F72BA4:56771E1:6A5DF5F6 |
| html-safe-nonce | 55b76027f542d40904de4f199da97c96748aa2ccf9ca07eed0182ff793f38c9f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDRDOjU1OTI6M0Y3MkJBNDo1Njc3MUUxOjZBNURGNUY2IiwidmlzaXRvcl9pZCI6IjQ5ODM3NDk3MDQxMDA0NzY0MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d6ad0904839d3b2151fc57f4d3b9075ddfa466f49b0e16b3135962215abc28b2 |
| hovercard-subject-tag | pull_request:3397127708 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/TheAlgorithms/Python/pull/14373/files |
| twitter:image | https://avatars.githubusercontent.com/u/263476602?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/263476602?s=400&v=4 |
| og:image:alt | Description This pull request adds validation for latitude and longitude values in the lamberts_ellipsoidal_distance function. ✅ Allow edits by maintainers Changes Added validation for latitude va... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f8603048a7a8270fc5b845c28ec71e80a9a899268387bcf65814ee1b51c0cc4 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/TheAlgorithms/Python git https://github.com/TheAlgorithms/Python.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 63476337 |
| octolytics-dimension-repository_nwo | TheAlgorithms/Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63476337 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/Python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e2a5561aeb049d0632a92906af784af5d414c603 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width