From 186708f8de54207347d830c266d94973e11ba89d Mon Sep 17 00:00:00 2001 From: GudniRos Date: Wed, 10 Feb 2016 07:24:49 -0800 Subject: [PATCH] Fixed an error with u refactoring --- SimPEG/MT/BaseMT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimPEG/MT/BaseMT.py b/SimPEG/MT/BaseMT.py index e29e6a6a..664bebcc 100644 --- a/SimPEG/MT/BaseMT.py +++ b/SimPEG/MT/BaseMT.py @@ -56,7 +56,7 @@ class BaseMTProblem(BaseFDEMProblem): # We need fDeriv_m = df/du*du/dm + df/dm # Construct du/dm, it requires a solve # NOTE: need to account for the 2 polarizations in the derivatives. - u = u[src,:] + u_src = u[src,:] # dA_dm and dRHS_dm should be of size nE,2, so that we can multiply by dA_duI. The 2 columns are each of the polarizations. dA_dm = self.getADeriv_m(freq, u_src, v) # Size: nE,2 (u_px,u_py) in the columns. dRHS_dm = self.getRHSDeriv_m(freq, v) # Size: nE,2 (u_px,u_py) in the columns.