Skip to content

Commit

Permalink
fix: dims are always tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
cako committed Jan 15, 2023
1 parent 81ef1ab commit ce8a015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylops/signalprocessing/nonstatconvolve2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def __init__(
self.ohx, self.dhx, self.nhx = ihx[0], ihx[1] - ihx[0], len(ihx)
self.ohz, self.dhz, self.nhz = ihz[0], ihz[1] - ihz[0], len(ihz)
self.ehx, self.ehz = ihx[-1], ihz[-1]
self.dims = dims
self.dims = _value_or_sized_to_tuple(dims)
self.engine = engine
super().__init__(dtype=np.dtype(dtype), dims=dims, dimsd=dims, name=name)

Expand Down

0 comments on commit ce8a015

Please sign in to comment.