mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-13 17:45:30 +08:00
modification for no congrous bc
This commit is contained in:
@@ -51,8 +51,8 @@ class MagFwdProblemTests(unittest.TestCase):
|
||||
|
||||
dpred = survey.projectFieldsAsVector(B)
|
||||
err = np.linalg.norm(dpred-np.r_[bxa, bya, bza])/np.linalg.norm(np.r_[bxa, bya, bza])
|
||||
self.assertTrue(err < 0.08)
|
||||
|
||||
self.assertTrue(err < 0.05)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user