diff --git a/examples/fdfd.py b/examples/fdfd.py index e28a2d2..16c2f20 100644 --- a/examples/fdfd.py +++ b/examples/fdfd.py @@ -236,7 +236,7 @@ def test1(solver=generic_solver): pyplot.grid(alpha=0.6) pyplot.title('Overlap with mode') pyplot.show() - print('Average overlap with mode:', sum(q)/len(q)) + print('Average overlap with mode:', sum(q[8:32])/len(q[8:32])) def module_available(name):