Skip to content

Commit

Permalink
Fix bug in tests with IndexError
Browse files Browse the repository at this point in the history
  • Loading branch information
aPovidlo committed Aug 21, 2024
1 parent 3544636 commit 40aabd7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ def _reasonability_check(features):
# For every column in table make check
if isinstance(features, OptimisedFeatures):
features = features._columns
elif isinstance(features, np.ndarray):
features = features.T

for column_id, column in enumerate(features):
# column = features[:, column_id] if columns_amount > 1 else features.copy()
Expand Down

0 comments on commit 40aabd7

Please sign in to comment.