Skip to content

Commit b919ca8

Browse files
committed
Remove commented code
1 parent bbef6ce commit b919ca8

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

simpeg/electromagnetics/natural_source/receivers.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,15 +1147,6 @@ def _eval_apparent_conductivity_deriv(
11471147
a_v = fact * np.c_[v] / bot[:, None] # term 1
11481148
b_v = np.c_[v] * (-fact * top / (bot**2))[:, None] # term 2
11491149

1150-
# a_v = np.repeat(mkvc(a_v, n_dims=2), 2, axis=-1)
1151-
# b_v = np.repeat(mkvc(b_v, n_dims=2), 2, axis=-1)
1152-
1153-
# hx *= a_v
1154-
# hy *= a_v
1155-
# hz *= a_v
1156-
# ex *= b_v
1157-
# ey *= b_v
1158-
11591150
ghx_v = np.einsum("ij,ik->ijk", a_v, hx).reshape((hx.shape[0], -1))
11601151
ghy_v = np.einsum("ij,ik->ijk", a_v, hy).reshape((hy.shape[0], -1))
11611152
ghz_v = np.einsum("ij,ik->ijk", a_v, hz).reshape((hz.shape[0], -1))

0 commit comments

Comments
 (0)