Skip to content

Commit

Permalink
bug: get_dimension_slope
Browse files Browse the repository at this point in the history
  • Loading branch information
gduscher committed Dec 17, 2024
1 parent 937b6f9 commit 6bdcab3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sidpy/base/num_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,4 @@ def build_ind_val_matrices(unit_values):

val_mat = val_mat.T
ind_mat = ind_mat.T
return ind_mat, val_mat
return ind_mat, val_mat
2 changes: 1 addition & 1 deletion sidpy/sid/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ def get_dimension_slope(self, dim):
axis = self._axes[dim]
elif isinstance(dim, Dimension):
axis = dim
return get_slope(axis)
return get_slope(axis.values)

def get_dimension_by_number(self, dims_in):
if isinstance(dims_in, int):
Expand Down

0 comments on commit 6bdcab3

Please sign in to comment.