Menu

#2 Support igraph >= 0.10.0

1.0
open
nobody
None
2022-09-16
2022-09-07
Gwyn Ciesla
No

See attached build log

1 Attachments

Discussion

  • szhorvat

    szhorvat - 2022-09-16

    igraph maintainer here.

    Yes, this patch will fix compilation and will restore the old behaviour. The value chosen for the loops parameter will only make a difference if the graph has self-loops (i.e. it is non-simple), so any choice is fine here.

    To find out how to update code for igraph 0.10, your first stop should be the changelog, which should list all breaking changes. If anything is missing, let us know and we'll add it. https://github.com/igraph/igraph/blob/master/CHANGELOG.md

    I noticed that this program attempts to check error codes returned by igraph functions. However, the default behaviour on error is to abort(), so there is no point in doing this unless the error handler is changed to something else.

    Should the maintainer want to convert this code into an igraph function and include it in igraph itself, the contribution would be welcome. Just let us know.

     

Log in to post a comment.