mirror of
https://github.com/wassname/simpeg.git
synced 2026-10-29 13:40:11 +08:00
bug fix.
This commit is contained in:
1 parent
530de6cb5c
commit
abd4f47dfc
1 file changed
+2
-2
@@ -147,8 +147,8 @@ class InnerProducts(object):
|
||||
V1 = sdiag(v) # We will multiply on each side to keep symmetry
|
||||
|
||||
Px = _getFacePx(M)
|
||||
P000 = V2*Px('fXm')
|
||||
P100 = V2*Px('fXp')
|
||||
P000 = V1*Px('fXm')
|
||||
P100 = V1*Px('fXp')
|
||||
elif M.dim == 2:
|
||||
# Square root of cell volume multiplied by 1/4
|
||||
v = np.sqrt(0.25*M.vol)
|
||||
|
||||
Reference in new issue
Block a user