cotengra icon indicating copy to clipboard operation
cotengra copied to clipboard

`test_resistance_centrality ` fails on aarch64

Open ggardet opened this issue 2 years ago • 1 comments

test_resistance_centrality fails on aarch64 with:

[   91s] =================================== FAILURES ===================================
[   91s] __________________________ test_resistance_centrality __________________________
[   91s] [gw2] linux -- Python 3.9.18 /usr/bin/python3.9
[   91s] 
[   91s]     def test_resistance_centrality():
[   91s]         inputs, output, _, size_dict = ctg.utils.lattice_equation([3, 3])
[   91s]         hg = ctg.HyperGraph(inputs, output, size_dict)
[   91s]         cents = hg.resistance_centrality()
[   91s] >       assert cents[0] == 0.0
[   91s] E       assert 6.178632484870434e-16 == 0.0
[   91s] 
[   91s] tests/test_hypergraph.py:17: AssertionError

ggardet avatar Mar 21 '24 08:03 ggardet

I think it should be fixed with https://github.com/jcmgray/cotengra/commit/43270038e60cd93e79b2c0d14e06074dfadb3ecd#diff-0dc964be60160ec49413a84e24be48ae7f05f252f61b6a7799bd1620b57e04bd

ggardet avatar Mar 21 '24 09:03 ggardet