From 60482613a1840d54cb89060617e0d6f3d84ed62f Mon Sep 17 00:00:00 2001 From: Manuel Date: Fri, 18 May 2018 14:49:01 -0400 Subject: [PATCH] Remove tail from test --- test/analyze_block_structure_from_gf.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/analyze_block_structure_from_gf.py b/test/analyze_block_structure_from_gf.py index 23ada79f..f3b42550 100644 --- a/test/analyze_block_structure_from_gf.py +++ b/test/analyze_block_structure_from_gf.py @@ -73,12 +73,6 @@ for d in SK.deg_shells[0]: for i in range(len(normalized_gfs)): for j in range(i+1,len(normalized_gfs)): assert_arrays_are_close(normalized_gfs[i].data, normalized_gfs[j].data, 1.e-5) - # the tails have to be compared using a relative error - for o in range(normalized_gfs[i].tail.order_min,normalized_gfs[i].tail.order_max+1): - if np.abs(normalized_gfs[i].tail[o][0,0]) < 1.e-10: - continue - assert np.max(np.abs((normalized_gfs[i].tail[o]-normalized_gfs[j].tail[o])/(normalized_gfs[i].tail[o][0,0]))) < 1.e-5, \ - "tails are different" ####################################################################### # Second test #