mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-06 05:16:51 +08:00
f for fields in data misfit, directives etc. Previously, f was used in the InvProblem to be the function value for the objective function --> this has been renamed to phi
This commit is contained in:
+2
-2
@@ -128,7 +128,7 @@ class BaseProblem(object):
|
||||
:rtype: numpy.array
|
||||
:return: approxJv
|
||||
"""
|
||||
return self.Jvec(m, v, u)
|
||||
return self.Jvec(m, v, f)
|
||||
|
||||
@Utils.timeIt
|
||||
def Jtvec_approx(self, m, v, f=None):
|
||||
@@ -142,7 +142,7 @@ class BaseProblem(object):
|
||||
:rtype: numpy.array
|
||||
:return: JTv
|
||||
"""
|
||||
return self.Jtvec(m, v, u)
|
||||
return self.Jtvec(m, v, f)
|
||||
|
||||
def fields(self, m):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user