Skip to content

Commit 9786dbd

Browse files
committed
minor: fix linting
1 parent 7a5ea19 commit 9786dbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pylops_mpi/basicoperators/BlockDiag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
22
from scipy.sparse.linalg._interface import _get_dtype
33
from mpi4py import MPI
4-
from typing import Optional, Sequence, Union, List
4+
from typing import Optional, Sequence, List
55
from numbers import Integral
66

77
from pylops import LinearOperator

tests/test_distributedarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def test_distributed_norm(par):
199199
(par8, par9), (par8b, par9b)])
200200
def test_distributed_maskeddot(par1, par2):
201201
"""Test Distributed Dot product with masked array"""
202-
nsub = 3 # number of subcommunicators
202+
nsub = 3 # number of subcommunicators
203203
subsize = max(1, MPI.COMM_WORLD.Get_size() // nsub)
204204
mask = np.repeat(np.arange(nsub), subsize)
205205
# Replicate x1 and x2 as required in masked arrays

0 commit comments

Comments
 (0)