-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty adjacency matrix induces various errors #45
Comments
Bug report by Marlene Kretschmer (I experienced simmilar problems several time before): *... konstruieren ich gerade probeweise mid-latitude networks (1872 Knoten) mit der "normalen" cross correlation und verschiedenen time-lags (0, 1, 7, 14 Tage). Also in etwa so:
*Für größere lags kriege ich allerdings die Fehlermeldung bei Aufruf von get_degree(): File "/iplex/01/sys/applications/pik-python/lib/python2.7/site-packages/pyunicorn/core/network.py", line 1738, in get_degree Ich vermute, dass es daran liegt, dass die Adjacency Matrix dann keine Einträge ungleich Null hat? Zumindest klappt es wenn ich den threshold auf 0.1 runter setze.* Original comment by: Jonathan Donges |
Should be resolved by the still experimental code ported to Original comment by: ntfrgl |
Here is a minimal example:
Original comment by: Jonathan Donges |
Commit 5a6b858 seems to do the job. Original comment by: ntfrgl |
Empty adjacency matrix induces various errors, e.g., in computing network measures.
Originally reported by: Jonathan Donges
Originally created on: 2014-09-24
The text was updated successfully, but these errors were encountered: