pysal / spopt

Spatial Optimization
https://pysal.org/spopt/
BSD 3-Clause "New" or "Revised" License
303 stars 46 forks source link

fix `numpy=2.0.0` compat -- #456 #457

Closed jGaboardi closed 2 months ago

jGaboardi commented 2 months ago

This PR resolves #456

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.8%. Comparing base (9707567) to head (7c06f4c). Report is 3 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/pysal/spopt/pull/457/graphs/tree.svg?width=650&height=150&src=pr&token=6DbcV5GVAc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal)](https://app.codecov.io/gh/pysal/spopt/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal) ```diff @@ Coverage Diff @@ ## main #457 +/- ## ===================================== Coverage 77.8% 77.8% ===================================== Files 27 27 Lines 2638 2638 ===================================== Hits 2053 2053 Misses 585 585 ``` | [Files](https://app.codecov.io/gh/pysal/spopt/pull/457?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal) | Coverage Δ | | |---|---|---| | [spopt/region/maxp.py](https://app.codecov.io/gh/pysal/spopt/pull/457?src=pr&el=tree&filepath=spopt%2Fregion%2Fmaxp.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal#diff-c3BvcHQvcmVnaW9uL21heHAucHk=) | `98.0% <100.0%> (ø)` | |