Skip to content

Commit d1a341a

Browse files
authored
Merge pull request #582 from mrava87/patch-fred
minor: Fredholm1 and MDC small changes
2 parents 4a85bb0 + e537125 commit d1a341a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pylops/signalprocessing/fredholm1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class Fredholm1(LinearOperator):
6161
d(k, x, z) = \int{G(k, x, y) m(k, y, z) \,\mathrm{d}y}
6262
\quad \forall k=1,\ldots,n_{slice}
6363
64-
on the other hand its adjoin is expressed as
64+
on the other hand its adjoint is expressed as
6565
6666
.. math::
6767
@@ -146,4 +146,4 @@ def _rmatvec(self, x: NDArray) -> NDArray:
146146
for isl in range(self.nsl):
147147
# y[isl] = ncp.dot(self.G[isl].conj().T, x[isl])
148148
y[isl] = ncp.dot(x[isl].T.conj(), self.G[isl]).T.conj()
149-
return y.ravel()
149+
return y

pylops/waveeqprocessing/mdd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ def MDC(
242242
conj=conj,
243243
prescaled=prescaled,
244244
args_FFT={"engine": fftengine},
245+
args_FFT1={"engine": fftengine},
245246
args_Fredholm1={"usematmul": usematmul},
246247
)
247248
MOp.name = name

0 commit comments

Comments
 (0)