Skip to content

Commit 88178b9

Browse files
authored
Merge pull request #93 from MunchLab/fix-shape-heuristic
2 parents bbd0460 + d085956 commit 88178b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ect/ect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def _compute_ect(
137137

138138
V = directions.vectors
139139
X = graph.coord_matrix
140-
H = X @ V if V.shape[0] == X.shape[1] else X @ V.T # (N, m)
140+
H = X @ V.T # (N, m)
141141
H_T = np.ascontiguousarray(H.T) # (m, N) for contiguous per-direction rows
142142

143143
out64 = _ect_all_dirs(

0 commit comments

Comments
 (0)