X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fmath%2FMatrix.java;h=a54952057b8cca247080611a92dfec1df8d8854c;hb=ab43013b7e357b84b4abade0dba949668dfb2a0e;hp=7c31f73b8e639a20f02d140bfa4c7cae68cc1da6;hpb=47168f025aefdaa044802bd5f8f510ffe43a4808;p=jalview.git diff --git a/src/jalview/math/Matrix.java b/src/jalview/math/Matrix.java index 7c31f73..a549520 100755 --- a/src/jalview/math/Matrix.java +++ b/src/jalview/math/Matrix.java @@ -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 {