Skip to content

Commit 6c7c967

Browse files
committed
patch: add kind to all operators in MPILaplacian
1 parent 90531e9 commit 6c7c967

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pylops_mpi/basicoperators/Laplacian.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,14 @@ def _calc_l2op(self):
113113
if ax == 0:
114114
l2op += weight * MPISecondDerivative(dims=self.dims,
115115
sampling=samp,
116+
kind=self.kind,
116117
edge=self.edge,
117118
dtype=self.dtype)
118119
else:
119120
l2op += weight * MPIBlockDiag(ops=[SecondDerivative(dims=local_dims,
120121
axis=ax,
121122
sampling=samp,
123+
kind=self.kind,
122124
edge=self.edge,
123125
dtype=self.dtype)])
124126
return l2op

0 commit comments

Comments
 (0)