Skip to content

Commit de9cade

Browse files
committed
pass default value when creating an instance
1 parent 51a21eb commit de9cade

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

stumpy/sdp.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,9 @@ def __call__(self, Q, T, n_threads=1, planning_flag="FFTW_ESTIMATE"):
328328

329329

330330
if PYFFTW_IS_AVAILABLE: # pragma: no cover
331-
_pyfftw_sliding_dot_product = _PYFFTW_SLIDING_DOT_PRODUCT(max_n=2**20)
331+
_pyfftw_sliding_dot_product = _PYFFTW_SLIDING_DOT_PRODUCT(
332+
max_n=2**20, real_dtype="float64"
333+
)
332334

333335

334336
def _sliding_dot_product(Q, T):

0 commit comments

Comments
 (0)