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

add numba-fied version of skyum code #56

Merged
merged 13 commits into from
Jul 17, 2020
Merged

Conversation

ljwolf
Copy link
Member

@ljwolf ljwolf commented Jun 5, 2020

This adds a numba implementation of the minimum bounding circle code. This won't have too much of a speedup on most cases, unless the input points are very convex & the convex hull is large.

Copy link
Member

@sjsrey sjsrey 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. Not sure why tests are not firing on the pr?

return radius, center_x, center_y


if __name__ == "__main__":
Copy link
Member Author

Choose a reason for hiding this comment

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

this might need to get deleted

@ljwolf
Copy link
Member Author

ljwolf commented Jul 4, 2020

Yes, not sure why the tests are not running... I also (now testing on OSX) get failures in the numba code. I need to double check. @sjsrey have you ran this locally?

@ljwolf
Copy link
Member Author

ljwolf commented Jul 4, 2020

I believe this is now resolved and is ready to merge. Very basic errors in the remaining functions.

Also, I note we do not have CI on the minimum bounding circle or rectangles?

@sjsrey
Copy link
Member

sjsrey commented Jul 4, 2020

I'm exploring this locally and will add test if we don't have them

@sjsrey
Copy link
Member

sjsrey commented Jul 4, 2020

Yes, not sure why the tests are not running... I also (now testing on OSX) get failures in the numba code. I need to double check. @sjsrey have you ran this locally?

I think the tests were not triggered due to conflicts in the source. Just resolved those so let's see.

@sjsrey
Copy link
Member

sjsrey commented Jul 4, 2020

Yes, not sure why the tests are not running... I also (now testing on OSX) get failures in the numba code. I need to double check. @sjsrey have you ran this locally?

I think the tests were not triggered due to conflicts in the source. Just resolved those so let's see.

The conflict was holding up the tests. Updated a PR into your branch if you need it.

@ljwolf ljwolf merged commit 0e4c9cc into pysal:master Jul 17, 2020
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