amnh / PCG

𝙋𝙝𝙮𝙡𝙤𝙜𝙚𝙣𝙚𝙩𝙞𝙘 𝘾𝙤𝙢𝙥𝙤𝙣𝙚𝙣𝙩 𝙂𝙧𝙖𝙥𝙝 ⸺ Haskell program and libraries for general phylogenetic graph search
28 stars 1 forks source link

Fix performDecoration for single node graphs #143

Closed Boarders closed 5 years ago

Boarders commented 5 years ago

Currently performDecoration from Analysis.Scoring does not work correctly for single node graph. In particular, it returns an empty graph. Whilst this is not the standard use case it is conceivable this is situation arises and we should handle it correctly.

Boarders commented 5 years ago

This is now fixed in this commit: https://github.com/amnh/PCG/commit/b4bb7e877d2701bc56689290060cfa2a559f25cf