mirror of
https://github.com/wassname/simpeg.git
synced 2026-10-02 12:40:56 +08:00
Change callHooks structure.
This commit is contained in:
1 parent
abfe1f033e
commit
ccb4d4052d
4 files changed
+62
-60
No files matched your search
@@ -32,7 +32,7 @@ class TestOptimizers(unittest.TestCase):
|
||||
self.assertTrue(np.linalg.norm(xopt-x_true,2) < TOL, True)
|
||||
|
||||
def test_ProjGradient_quadraticBounded(self):
|
||||
PG = inverse.ProjectedGradient()
|
||||
PG = inverse.ProjectedGradient(debug=True)
|
||||
PG.lower, PG.upper = -2, 2
|
||||
xopt = PG.minimize(getQuadratic(self.A,self.b),np.array([0,0]))
|
||||
x_true = np.array([2.,2.])
|
||||
|
||||
Reference in new issue
Block a user