Skip to content

Fixed bug in Watts-Strogatz Generator - #699

Merged
jkinable merged 2 commits into
jgrapht:masterfrom
d-michail:watts-strogatz-fix
Oct 20, 2018
Merged

jkinable merged 2 commits into
jgrapht:masterfrom
d-michail:watts-strogatz-fix

Conversation

@d-michail

Copy link
Copy Markdown
Member

Bug fix in the Watts-Strogatz which caused a null pointer exception when the graph vertices were any type except integers.


 The problem manifested when the vertices are not integers.
@jkinable

Copy link
Copy Markdown
Collaborator

Thanks!

@jkinable
jkinable merged commit c5c2971 into jgrapht:master Oct 20, 2018
@d-michail
d-michail deleted the watts-strogatz-fix branch October 21, 2018 08:06
SChudakov pushed a commit to SChudakov/jgrapht that referenced this pull request Jan 9, 2019
* Fixed bug in Watts-Strogatz Generator

 The problem manifested when the vertices are not integers.

* Minor optimization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants