Skip to content

Commit dd71552

Browse files
Merge branch 'spatialhash-regional-spherical-improvements' of github.com:Parcels-Code/Parcels into spatialhash-regional-spherical-improvements
2 parents 5d28517 + 9421da4 commit dd71552

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parcels/_core/spatialhash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def __init__(
207207
self._zhigh = np.zeros_like(self._xlow)
208208

209209
# Cap the quantization resolution so the hash table stays within a fixed entry
210-
# budget.
210+
# budget.
211211
budget = max(_HASH_ENTRIES_PER_FACE * np.size(self._xlow), _HASH_ENTRY_BUDGET_MIN)
212212
if self._total_hash_entries(self._bitwidth) > budget:
213213
# Binary search for the largest bitwidth whose table fits the budget. The

0 commit comments

Comments
 (0)