Commits

Maciej Fijalkowski committed 829649e

make this run on cpython

Comments (0)

Files changed (1)

bench/laplace/laplace.py

     from _numpypy.pypy import remove_invalidates
 except ImportError:
     import numpy
+    remove_invalidates = lambda *args: None
 
 class LaplaceSolver(object):
     def __init__(self, nx, ny, xmin=0.0, xmax=1.0, ymin=0.0, ymax=1.0):