Sequence is char []
[jalview.git] / src / jalview / schemes / ResidueProperties.java
index 4699dc6..1015073 100755 (executable)
@@ -1168,14 +1168,14 @@ public class ResidueProperties
     return pog;\r
   }\r
 \r
-  public static int getBLOSUM62(String A1, String A2)\r
+  public static int getBLOSUM62(char c1, char c2)\r
   {\r
     int pog = 0;\r
 \r
     try\r
     {\r
-      int a = aaIndex[A1.charAt(0)];\r
-      int b = aaIndex[A2.charAt(0)];\r
+      int a = aaIndex[c1];\r
+      int b = aaIndex[c2];\r
 \r
       pog = ResidueProperties.BLOSUM62[a][b];\r
     }\r