commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r728483 - /commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecompositionImpl.java
Date Sun, 21 Dec 2008 19:48:17 GMT
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.



Mime
View raw message