Skip to content

Commit

Permalink
Remove unused imports from connectivity.py (#1789)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahoenselaar authored Oct 13, 2021
1 parent ff9f342 commit 434f3fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/adjoint/connectivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
import numpy as np
from scipy.sparse.linalg import cg, spsolve
from scipy.sparse import kron, diags, csr_matrix, eye, csc_matrix, lil_matrix
from scipy.linalg import norm
import matplotlib.pyplot as plt

class ConnectivityConstraint(object):
def __init__(self, nx, ny, nz, k0=1000, zeta=0, sp_solver=cg, alpha=None, alpha0=None, thresh=0.1, p=2):
#zeta is to prevent singularity when damping is zero; with damping, zeta should be zero
Expand Down

0 comments on commit 434f3fb

Please sign in to comment.