1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Fix FTBFS with NumPy 1.14
Bug-Debian: https://bugs.debian.org/899019
Author: Graham Inggs <ginggs@debian.org>
Last-Update: 2018-05-30
--- a/interface/tests/python/demo_laplacian.py
+++ b/interface/tests/python/demo_laplacian.py
@@ -57,7 +57,7 @@
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(True ^ ttop ^ tleft, flst, axis=1)
# Mark it as boundary
DIRICHLET_BOUNDARY_NUM1 = 1
|