JAL-1620 version bump and release notes
[jalview.git] / src / jalview / math / Matrix.java
index 7c31f73..a549520 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1)
  * Copyright (C) 2014 The Jalview Authors
  * 
  * This file is part of Jalview.
@@ -50,7 +50,7 @@ public class Matrix
   public double[] e; // off diagonal
 
   /**
-   * maximum number of iterations for tqli 
+   * maximum number of iterations for tqli
    * 
    */
   int maxIter = 45; // fudge - add 15 iterations, just in case
@@ -350,7 +350,7 @@ public class Matrix
       }
     }
   }
-  
+
   /**
    * DOCUMENT ME!
    */
@@ -403,7 +403,7 @@ public class Matrix
 
           if (iter == maxIter)
           {
-            throw new Exception("Too many iterations in tqli ("+maxIter+")");
+            throw new Exception(MessageManager.formatMessage("exception.matrix_too_many_iteration", new String[]{"tqli", Integer.valueOf(maxIter).toString()}));
           }
           else
           {
@@ -652,7 +652,7 @@ public class Matrix
 
           if (iter == maxIter)
           {
-            throw new Exception ("Too many iterations in tqli2 (max is "+maxIter+")");
+              throw new Exception(MessageManager.formatMessage("exception.matrix_too_many_iteration", new String[]{"tqli2", Integer.valueOf(maxIter).toString()}));
           }
           else
           {