From aea738693889b07d3cc4750c9e8d0ca6cf3710b4 Mon Sep 17 00:00:00 2001 From: rowanc1 Date: Tue, 26 Nov 2013 18:39:16 -0800 Subject: [PATCH] added to the startup file. --- .travis.yml | 1 + SimPEG/forward/Problem.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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): """