Commit da0ac67a authored by Martin Reinecke's avatar Martin Reinecke

reproducible runs

parent 8796c200
......@@ -3,6 +3,8 @@ import pypocketfft
from time import time
import matplotlib.pyplot as plt
np.random.seed(42)
def _l2error(a, b):
return np.sqrt(np.sum(np.abs(a-b)**2)/np.sum(np.abs(a)**2))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment