-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
refraction_angle() now accepts inc. angle #16512
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
Conversation
|
✅ Hi, I am the SymPy bot (v147). I'm here to help you write a release notes entry. Please read the guide on how to write release notes. Your release notes are in good order. Here is what the release notes will look like:
This will be added to https://github.com/sympy/sympy/wiki/Release-Notes-for-1.5. Note: This comment will be updated with the latest check if you edit the pull request. You need to reload the page to see it. Click here to see the pull request description that was parsed.
Update The release notes on the wiki have been updated. |
|
Can you resolve the conflicts? The tests won't begin until you do that. |
|
Looks like a straight-forward conflict (click the "resolve conflicts" button below). On master a couple of new tests were added on the same lines where you've added tests. Just edit so that all tests are there together and it should be fine. I think you can do this in the browser. |
|
Thank you, @sidhantnagpal and @oscarbenjamin, for reviewing and providing tips on how to resolve the conflict. Have done that now - should be fine. |
|
Looks like you've sorted it correctly. The tests are running now... |
Codecov Report
@@ Coverage Diff @@
## master #16512 +/- ##
============================================
+ Coverage 73.74% 73.812% +0.071%
============================================
Files 619 619
Lines 158623 159343 +720
Branches 37176 37388 +212
============================================
+ Hits 116970 117615 +645
- Misses 36237 36287 +50
- Partials 5416 5441 +25 |
|
@oscarbenjamin please let me know if it needs more work on test coverage otherwise looks ripe to merge. |
|
Thank you, @smichr for reviewing - have now incorporated all your suggestions. |
References to other Issues or PRs
Brief description of what is fixed or changed
Other comments
Release Notes
physics.optics.utils, namely:refraction_angle()anddeviation()so they now also accept an angle of incidence. This is useful if the user wants to work the angles instead of inputting ray-like objects.