File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def get_transform(
126126 if bandwidths .ndim > 1 or bandwidths .dtype != "int32" :
127127 return "Please use an zero or one-dimensional numpy.array with dtype 'int32' as input"
128128
129- ( M , d ) = X .shape
129+ M , d = X .shape
130130
131131 if len (bandwidths ) == 0 :
132132 return DeferredLinearOperator (
Original file line number Diff line number Diff line change @@ -87,8 +87,7 @@ def nfft_index_set(
8787 return np .array (
8888 list (range (int (- bandwidths [0 ] / 2 ), int (bandwidths [0 ] / 2 ))), dtype = "int"
8989 )
90-
91-
90+
9291 tmp = [list (range (int (- bw / 2 ), int (bw / 2 ))) for bw in bandwidths [::- 1 ]]
9392 tmp = itertools .product (* (tmp [::- 1 ]))
9493
@@ -138,7 +137,7 @@ def get_transform(
138137 if bandwidths .ndim > 1 or bandwidths .dtype != "int32" :
139138 return "Please use an zero or one-dimensional numpy.array with dtype 'int32' as input"
140139
141- ( M , d ) = np .shape (X )
140+ M , d = np .shape (X )
142141
143142 if len (bandwidths ) == 0 :
144143 return DeferredLinearOperator (
You can’t perform that action at this time.
0 commit comments