Skip to content

Commit

Permalink
maintenance update
Browse files Browse the repository at this point in the history
  • Loading branch information
songololo committed Jan 1, 2023
1 parent 5fd9ff6 commit 08f4ad0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions cityseer/algos/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def aggregate_to_src_idx(
return reachable_data, reachable_data_dist


@njit(cache=False, fastmath=config.FASTMATH, nogil=True, parallel=True)
@njit(cache=True, fastmath=config.FASTMATH, nogil=True, parallel=True)
def accessibility(
nodes_x_arr: npt.NDArray[np.float32],
nodes_y_arr: npt.NDArray[np.float32],
Expand Down Expand Up @@ -538,7 +538,7 @@ def accessibility(
return accessibility_data, accessibility_data_wt


@njit(cache=False, fastmath=config.FASTMATH, nogil=True, parallel=True)
@njit(cache=True, fastmath=config.FASTMATH, nogil=True, parallel=True)
def mixed_uses(
nodes_x_arr: npt.NDArray[np.float32],
nodes_y_arr: npt.NDArray[np.float32],
Expand Down Expand Up @@ -736,7 +736,7 @@ def disp_check(disp_matrix): # type: ignore # numba can't handle nested functio
return mixed_use_hill_data[mu_hill_k_int], mixed_use_other_data[mu_other_k_int]


@njit(cache=False, fastmath=config.FASTMATH, nogil=True, parallel=True)
@njit(cache=True, fastmath=config.FASTMATH, nogil=True, parallel=True)
def aggregate_stats(
nodes_x_arr: npt.NDArray[np.float32],
nodes_y_arr: npt.NDArray[np.float32],
Expand Down
2 changes: 1 addition & 1 deletion pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cityseer"
version = '3.6.2b5'
version = '3.6.2'
description = "Computational tools for network-based pedestrian-scale urban analysis"
readme = "README.md"
requires-python = ">=3.8, <3.11"
Expand Down Expand Up @@ -37,7 +37,7 @@ classifiers = [
]
dependencies = [
"matplotlib>=3.5.1",
"networkx>=2.7.1",
"networkx>=3.0rc1",
"pyproj>=3.3.0",
"requests>=2.27.1",
"scikit-learn>=1.0.2",
Expand All @@ -57,7 +57,7 @@ documentation = "https://cityseer.benchmarkurbanism.com/"
repository = "https://github.com/benchmark-urbanism/cityseer-api"

[tool.pdm]
allow_prereleases = true
allow_prereleases = false

# [[tool.pdm.source]]
# url = "https://test.pypi.org/simple"
Expand Down

0 comments on commit 08f4ad0

Please sign in to comment.