def test_Adjoint(self):
        v = np.random.rand(self.survey.nD)
        z = np.random.rand(self.M.nC)
        Hs = self.prob.fields(self.Ks)
        vJz = v.dot(self.prob.Jvec(self.Ks,z,u=Hs))
        zJv = z.dot(self.prob.Jtvec(self.Ks,v,u=Hs))
        tol = TOL*(10**int(np.log10(np.abs(zJv))))
        passed = np.abs(vJz - zJv) < tol
        print '2D: Richards Adjoint Test - PressureHead'
        print '%4.4e === %4.4e, diff=%4.4e < %4.e'%(vJz, zJv,np.abs(zJv - vJz),tol)
        self.assertTrue(passed,True)
dataset/ETHPy150Open simpeg/simpeg/tests/flow/test_Richards.py/RichardsTests2D.test_Adjoint/swapped operands of `-`