R 4.3
authorpierre <pierre.ratinaud@univ-tlse2.fr>
Thu, 1 Feb 2024 22:49:40 +0000 (23:49 +0100)
committerpierre <pierre.ratinaud@univ-tlse2.fr>
Thu, 1 Feb 2024 22:49:40 +0000 (23:49 +0100)
PrintRScript.py

index 27c4d27..26947e1 100755 (executable)
@@ -1173,7 +1173,7 @@ class PrintSimiScript(PrintRScript):
         if (!is.null(graph.simi$com)) {
             com <- graph.simi$com
             colm <- rainbow(length(com))
-            if (vertex.size != 0 || graph.simi$halo) {
+            if (sum(vertex.size) != 0 || graph.simi$halo) {
                 vertex.label.color <- 'black'
                 vertex.col <- colm[membership(com)]
             } else {