Merge branch 'boundaryConditions' of https://github.com/simpeg/simpeg into boundaryConditions

This commit is contained in:
rowanc1
2014-02-19 18:15:08 -08:00
2 changed files with 326 additions and 1 deletions
+1 -1
View File
@@ -499,7 +499,7 @@ class DiffOperators(object):
P = sp.identity(n+1).tocsr()
if(bc[0] == 'neumann'):
P = P[1:,:]
if(bc[0] == 'neumann'):
if(bc[1] == 'neumann'):
P = P[:-1,:]
return P