Skip to content
Snippets Groups Projects
Commit 0a96ce8b authored by Dilawar Singh's avatar Dilawar Singh
Browse files

Even lower atol for np.std.

parent 7b1f1e6a
No related branches found
No related tags found
No related merge requests found
......@@ -205,6 +205,6 @@ if __name__ == '__main__':
header += ' difshell_' + str(i) + '_difbuff_' + str(j)
assert np.isclose(res.mean(), 0.60599, atol=1e-5), \
'Expected 0.60599, got %g' % np.mean(res)
assert np.isclose(np.std(res), 1.9505, atol=1e-5), \
assert np.isclose(np.std(res), 1.9505, atol=1e-3), \
'Expected 1.9505 got %g' % np.std(res)
print( 'All done' )
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