[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] (no subject)
From: |
Tetsuo Koyama |
Subject: |
[Getfem-commits] (no subject) |
Date: |
Sun, 21 Oct 2018 14:36:05 -0400 (EDT) |
branch: devel-tetsuo-fix_test_error
commit 55ac4dd5973b331fe323c82d891afb198f6e315c
Author: Tetsuo Koyama <address@hidden>
Date: Mon Oct 22 03:30:18 2018 +0900
[fix] test error in numpy Version: 1.14.5
---
interface/tests/python/demo_laplacian.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/interface/tests/python/demo_laplacian.py
b/interface/tests/python/demo_laplacian.py
index 377af37..b2da830 100644
--- a/interface/tests/python/demo_laplacian.py
+++ b/interface/tests/python/demo_laplacian.py
@@ -57,7 +57,7 @@ tleft = abs(fnor[1,:]+1) < 1e-14
ttop = abs(fnor[0,:]-1) < 1e-14
fleft = np.compress(tleft, flst, axis=1)
ftop = np.compress(ttop, flst, axis=1)
-fneum = np.compress(True - ttop - tleft, flst, axis=1)
+fneum = np.compress(np.logical_not(ttop + tleft), flst, axis=1)
# Mark it as boundary
DIRICHLET_BOUNDARY_NUM1 = 1