Skip to content
Snippets Groups Projects
Commit 406290c6 authored by Philipp Ruessmann's avatar Philipp Ruessmann
Browse files

Fix BdG test evaluation

parent c2780028
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ class Test_BdG():
d = abs(dqe-dqh[::-1])
dm = d.max()
print('ehsymm', dm, dm/dqe[d==dm])
assert dm/dqe[d==dm] < 2e-4
assert any(dm/dqe[d==dm]) < 2e-4
gz = (dqe[1]).max()/(dqe[0]).max()
print('gapzero', gz)
assert gz<0.012
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment