unifrac/unifrac-tools autopkgtest failure

Bug #2038397 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unifrac (Ubuntu)
New
Undecided
Unassigned
unifrac-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

See:
https://autopkgtest.ubuntu.com/results/autopkgtest-mantic/mantic/amd64/u/unifrac/20230930_111936_3decc@/log.gz

There are multiple issues:
 - unifrac autopkgtest try to compare np.array of size 1 with a scalar. Should be comparing first element.
 - assertEquals should be replaced with assertAlmostEquals()
 - unifrac-tools should correctly initialize node_properties vector in src/unifrac_internal.cpp:176 set_proportions(), division by zero causes undefined behaviour.

Note: S390x build fails since lunar

Related branches

Vladimir Petko (vpa1977)
description: updated
tags: added: update-excuse
Revision history for this message
Vladimir Petko (vpa1977) wrote :
description: updated
Revision history for this message
Vladimir Petko (vpa1977) wrote :
Revision history for this message
Vladimir Petko (vpa1977) wrote :
Vladimir Petko (vpa1977)
tags: added: fr-5641
Revision history for this message
Vladimir Petko (vpa1977) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.