fix eigenvalue example
Merge pull request #1258 from hagberg/eigenvalue-example

fix eigenvalue example