From 9f82ffff7bb43eeb21478ef44fc698404a37a5f0 Mon Sep 17 00:00:00 2001 From: rowanc1 Date: Sat, 26 Apr 2014 23:22:02 -0700 Subject: [PATCH] column concat initial fields. --- simpegEM/TDEM/TDEM_b.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpegEM/TDEM/TDEM_b.py b/simpegEM/TDEM/TDEM_b.py index 2e8da6ca..e96525f2 100644 --- a/simpegEM/TDEM/TDEM_b.py +++ b/simpegEM/TDEM/TDEM_b.py @@ -37,7 +37,7 @@ class ProblemTDEM_b(BaseTDEMProblem): def getRHS(self, tInd, F): dt = self.timeSteps[tInd] - B_n = np.concatenate([F[tx,'b',tInd] for tx in self.survey.txList], axis=1) + B_n = np.c_[[F[tx,'b',tInd] for tx in self.survey.txList]].T RHS = (1.0/dt)*self.MfMui*B_n return RHS