From 2b17ad45aca912b9fca3db5336ef4850223b660c Mon Sep 17 00:00:00 2001 From: seogi_macbook Date: Fri, 25 Sep 2015 23:58:08 -0700 Subject: [PATCH] blah .. for spline map --- SimPEG/Maps.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/SimPEG/Maps.py b/SimPEG/Maps.py index 9cd067b3..5b4782ac 100644 --- a/SimPEG/Maps.py +++ b/SimPEG/Maps.py @@ -991,4 +991,11 @@ class SplineMap(IdentityMap): fderiv = (flinesa-flinesb)/(2*dy) g3[:,i] = Utils.sdiag(alpha*(sig2-sig1)/(1.+(alpha*f)**2)/np.pi)*fderiv else : - raise(Exception("Not Implemented for Y and Z, your turn :)")) \ No newline at end of file + raise(Exception("Not Implemented for Y and Z, your turn :)")) + return sp.csr_matrix(np.c_[g1,g2,g3]) + + + + + + \ No newline at end of file