-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add check for empty network in scale-freeness functions
To avoid running into various errors when calculating scale-freeness for an empty network, check if the network is empty before calculating scale-freeness and return `NA` right away if the network is empty. Signed-off-by: Thomas Bock <[email protected]>
- Loading branch information
Showing
1 changed file
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters