Fix target misfit

This commit is contained in:
seogi_macbook
2015-09-14 21:25:15 -07:00
parent c886817773
commit f726a27269
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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):
+1 -1
View File
@@ -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):
"""