diff --git a/.travis.yml b/.travis.yml index aab43d5d..74f4dbce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ virtualenv: system_site_packages: true before_install: - sudo apt-get install -qq python-numpy python-scipy python-matplotlib + - python simpeg/SimPEG/setup.py # command to install dependencies install: "pip install -r requirements.txt --use-mirrors" # command to run tests diff --git a/SimPEG/forward/Problem.py b/SimPEG/forward/Problem.py index 54c623ee..99747f7d 100644 --- a/SimPEG/forward/Problem.py +++ b/SimPEG/forward/Problem.py @@ -224,7 +224,7 @@ class Problem(object): The modelTransform changes the model into the physical property. The modelTransformDeriv provides the derivative of the modelTransform. """ - return sp.eye(m.size) + return sp.identity(m.size) def createSyntheticData(self, m, std=0.05, u=None): """