JAL-1632 JAL-2416 load score matrices from file, as float[][]
[jalview.git] / src / jalview / schemes / Blosum62ColourScheme.java
index f35b886..c03c40b 100755 (executable)
@@ -75,14 +75,14 @@ public class Blosum62ColourScheme extends ResidueColourScheme
     }
     else
     {
-      int c = 0;
+      float score = 0;
 
       for (char consensus : consensusResidue.toCharArray())
       {
-        c += ResidueProperties.getBLOSUM62(consensus, res);
+        score += ResidueProperties.getBLOSUM62(consensus, res);
       }
 
-      if (c > 0)
+      if (score > 0)
       {
         colour = LIGHT_BLUE;
       }