From f6bdbbc8514c9a0f82a1f5018ec6c081d427666b Mon Sep 17 00:00:00 2001 From: Cliff Burdick <30670611+cliffburdick@users.noreply.github.com> Date: Wed, 20 Sep 2023 11:31:26 -0700 Subject: [PATCH] Update pwelch.h Fixing bugs related to return type and sizes --- include/matx/operators/pwelch.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/matx/operators/pwelch.h b/include/matx/operators/pwelch.h index d48d65f39..dbc85a5a8 100644 --- a/include/matx/operators/pwelch.h +++ b/include/matx/operators/pwelch.h @@ -49,12 +49,12 @@ namespace matx index_t nperseg_; index_t noverlap_; index_t nfft_; - std::array out_dims_; - mutable matx::tensor_t tmp_out_; + std::array out_dims_; + mutable matx::tensor_t tmp_out_; public: using matxop = bool; - using scalar_type = typename OpX::scalar_type; + using scalar_type = typename OpX::scalar_type::value_type; using matx_transform_op = bool; using pwelch_xform_op = bool;