diff --git a/src/ect/ect.py b/src/ect/ect.py index c33b2c3..69a6116 100644 --- a/src/ect/ect.py +++ b/src/ect/ect.py @@ -137,7 +137,7 @@ def _compute_ect( V = directions.vectors X = graph.coord_matrix - H = X @ V if V.shape[0] == X.shape[1] else X @ V.T # (N, m) + H = X @ V.T # (N, m) H_T = np.ascontiguousarray(H.T) # (m, N) for contiguous per-direction rows out64 = _ect_all_dirs(