Skip to content

Commit 4d94256

Browse files
Merge pull request #417 from Crunch-io/ZC-2839-numeric-range
Fix typo in numeric ranges for columns
2 parents ba0489a + 8f225f1 commit 4d94256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cr/cube/cubepart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def column_numeric_ranges(self):
322322
"""List of ranges or none for each column."""
323323
dim = self._dimensions[1]
324324
numeric_ranges = dim.numeric_ranges + len(dim.subtotals) * (None,)
325-
return [numeric_ranges[i] for i in self._row_order_signed_indexes]
325+
return [numeric_ranges[i] for i in self._column_order_signed_indexes]
326326

327327
def column_order(self, format=ORDER_FORMAT.SIGNED_INDEXES):
328328
"""1D np.int64 ndarray of idx for each assembled column of matrix.

0 commit comments

Comments
 (0)