-
Notifications
You must be signed in to change notification settings - Fork 272
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 set_line_hillas #974
Fix set_line_hillas #974
Conversation
Codecov Report
@@ Coverage Diff @@
## master #974 +/- ##
==========================================
- Coverage 77.74% 77.74% -0.01%
==========================================
Files 191 191
Lines 10831 10829 -2
==========================================
- Hits 8421 8419 -2
Misses 2410 2410
Continue to review full report at Codecov.
|
While you are at it, can you replace the |
2a39fb8
to
996bbeb
Compare
Nice, let's just wait for travis |
There was some accidental typo, which is fixed now. |
The current implementation of set_line_hillas did not work for huge values of
m
. This is an quick fix which calculates the actual start end end points of the line exactly. This works also in the case of (almost) vertical lines as you can see in the plot attached.