From 58efd8710f0b62755305d0e71cefbb27cccd3c9b Mon Sep 17 00:00:00 2001 From: Lindsey Heagy Date: Thu, 19 Nov 2015 13:37:18 -0800 Subject: [PATCH] use 1 for fixing null space instead of volume --- simpegDCIP/BaseDC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpegDCIP/BaseDC.py b/simpegDCIP/BaseDC.py index f03908da..db6b5603 100644 --- a/simpegDCIP/BaseDC.py +++ b/simpegDCIP/BaseDC.py @@ -176,7 +176,7 @@ class ProblemDC_CC(Problem.BaseProblem): G = self.mesh.cellGrad self._A = D*self.Msig*G # Remove the null space from the matrix. - self._A[-1,-1] /= self.mesh.vol[-1] + self._A[-1,-1] = 1. #self.mesh.vol[-1] self._A = self._A.tocsc() return self._A