From bbf15ec665e4eaca2ef39738e670f5b4ba3c0d4f Mon Sep 17 00:00:00 2001 From: Gary Pavlis Date: Tue, 4 Feb 2025 09:35:10 -0500 Subject: [PATCH] Fix const inconsistency with dt method that caused problems in binding code --- .../mspass/algorithms/deconvolution/MTPowerSpectrumEngine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cxx/include/mspass/algorithms/deconvolution/MTPowerSpectrumEngine.h b/cxx/include/mspass/algorithms/deconvolution/MTPowerSpectrumEngine.h index 554f43221..1cb7302dd 100644 --- a/cxx/include/mspass/algorithms/deconvolution/MTPowerSpectrumEngine.h +++ b/cxx/include/mspass/algorithms/deconvolution/MTPowerSpectrumEngine.h @@ -103,7 +103,7 @@ class MTPowerSpectrumEngine { length.*/ int fftsize() const { return nfft; }; /*! Retrieve the internally cached required data sample interval. */ - double dt() { return operator_dt; }; + double dt() const { return operator_dt; }; /*! \brief Putter equivalent of df. The computation of the Rayleigh bin size is complicated a bit by the folding