Skip to content

Commit

Permalink
Merge pull request #582 from mrava87/patch-fred
Browse files Browse the repository at this point in the history
minor: Fredholm1 and MDC small changes
  • Loading branch information
mrava87 authored Jun 6, 2024
2 parents 4a85bb0 + e537125 commit d1a341a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pylops/signalprocessing/fredholm1.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Fredholm1(LinearOperator):
d(k, x, z) = \int{G(k, x, y) m(k, y, z) \,\mathrm{d}y}
\quad \forall k=1,\ldots,n_{slice}
on the other hand its adjoin is expressed as
on the other hand its adjoint is expressed as
.. math::
Expand Down Expand Up @@ -146,4 +146,4 @@ def _rmatvec(self, x: NDArray) -> NDArray:
for isl in range(self.nsl):
# y[isl] = ncp.dot(self.G[isl].conj().T, x[isl])
y[isl] = ncp.dot(x[isl].T.conj(), self.G[isl]).T.conj()
return y.ravel()
return y
1 change: 1 addition & 0 deletions pylops/waveeqprocessing/mdd.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ def MDC(
conj=conj,
prescaled=prescaled,
args_FFT={"engine": fftengine},
args_FFT1={"engine": fftengine},
args_Fredholm1={"usematmul": usematmul},
)
MOp.name = name
Expand Down

0 comments on commit d1a341a

Please sign in to comment.