You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2008/12/21 20:48:17 UTC

svn commit: r728483 - /commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecompositionImpl.java

Author: luc
Date: Sun Dec 21 11:48:17 2008
New Revision: 728483

URL: http://svn.apache.org/viewvc?rev=728483&view=rev
Log:
decomposed fields can be set to final (this may help optimizer)

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecompositionImpl.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecompositionImpl.java?rev=728483&r1=728482&r2=728483&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecompositionImpl.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecompositionImpl.java Sun Dec 21 11:48:17 2008
@@ -262,10 +262,10 @@
          * matrix R, and the rows ABOVE the diagonal are the Householder reflector vectors
          * from which an explicit form of Q can be recomputed if desired.</p>
          */
-        private double[][] qrt;
+        private final double[][] qrt;
 
         /** The diagonal elements of R. */
-        private double[] rDiag;
+        private final double[] rDiag;
 
         /**
          * Build a solver from decomposed matrix.