Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > e8fe360d74d71c4ee7205869a8f7a46c > files > 5

getfem++-5.3-6.mga9.src.rpm

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