Skip to content

Commit

Permalink
oh dear: fixed the bug fix for forgotten () around the if condition! …
Browse files Browse the repository at this point in the history
…I guess moving between languages does have its downsides ...
  • Loading branch information
cdormann committed Sep 15, 2023
1 parent d37698a commit c29d225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bipartite/R/computeModules.R
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ isCorrectModuleWebObject = function(moduleWebObject) {
warning("Object corrupt.");
FALSE;
}
else if any(min(slot(moduleWebObject, "originalWeb")) < 0 || min(slot(moduleWebObject, "moduleWeb")) < 0) {
else if (any(min(slot(moduleWebObject, "originalWeb")) < 0 || min(slot(moduleWebObject, "moduleWeb")) < 0)) {
warning("entries of matrix have to be greater than or equal to 0.");
FALSE
}
Expand Down

0 comments on commit c29d225

Please sign in to comment.