# C/igraph 0.9.8

**URL:** https://igraph.discourse.group/t/c-igraph-0-9-8/1172
**Category:** Announcements
**Tags:** C
**Created:** [8 April 2022 17:09 UTC](https://igraph.discourse.group/t/c-igraph-0-9-8/1172 "2022-04-08T17:09:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tamas](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/tamas/32/1261_2.png) [@tamas](https://igraph.discourse.group/u/tamas)
#### Post date: [8 April 2022 17:09 UTC](https://igraph.discourse.group/t/c-igraph-0-9-8/1172/1 "2022-04-08T17:09:06Z")

</div>

[C/igraph](https://igraph.org/c/) 0.9.8 is now released.

The source can be obtained from [the GitHub releases page](https://github.com/igraph/igraph/releases/tag/0.9.8).

This release includes bug fixes and documentation updates only.

### Fixed

- Assertion failure in `igraph_bfs()` when an empty `roots` or `restricted` vector was provided.
- `igraph_diversity()` now returns 0 for degree-1 vertices. Previously it incorrectly returned NaN or ±Inf depending on roundoff errors.
- `igraph_community_walktrap()` does not crash any more when provided with  
`modularity=NULL` and `membership=NULL`.

### Other

- Documentation improvements.
