From f726a27269054d3b7d02fb7ce337abc8eaba7b5e Mon Sep 17 00:00:00 2001 From: seogi_macbook Date: Mon, 14 Sep 2015 21:25:15 -0700 Subject: [PATCH] Fix target misfit --- SimPEG/Directives.py | 2 +- SimPEG/Maps.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SimPEG/Directives.py b/SimPEG/Directives.py index 3ec9e96e..48d7abcf 100644 --- a/SimPEG/Directives.py +++ b/SimPEG/Directives.py @@ -149,7 +149,7 @@ class TargetMisfit(InversionDirective): @property def target(self): if getattr(self, '_target', None) is None: - self._target = self.survey.nD + self._target = self.survey.nD*0.5 return self._target @target.setter def target(self, val): diff --git a/SimPEG/Maps.py b/SimPEG/Maps.py index 0380447e..ae6411fd 100644 --- a/SimPEG/Maps.py +++ b/SimPEG/Maps.py @@ -1,7 +1,7 @@ import Utils, numpy as np, scipy.sparse as sp from Tests import checkDerivative from PropMaps import PropMap, Property - +from numpy.polynomial import polynomial class IdentityMap(object): """