We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 814b8ac commit d067a49Copy full SHA for d067a49
1 file changed
pytential/linalg/cluster.py
@@ -232,7 +232,7 @@ def make_block(i: int, j: int):
232
233
# {{{ cluster generation
234
235
-def _build_binary_ish_tree_from_starts(starts: np.ndarray) -> ClusterTree:
+def _build_binary_ish_tree_from_indices(starts: np.ndarray) -> ClusterTree:
236
partition_box_ids = np.arange(starts.size - 1)
237
238
box_ids = partition_box_ids
@@ -325,7 +325,7 @@ def partition_by_nodes(
325
starts = np.linspace(0, discr.ndofs, nclusters + 1, dtype=np.int64)
326
assert starts[-1] == discr.ndofs
327
328
- ctree = _build_binary_ish_tree_from_starts(starts)
+ ctree = _build_binary_ish_tree_from_indices(starts)
329
330
from pytential.linalg import make_index_list
331
return make_index_list(indices, starts=starts), ctree
0 commit comments