toon-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Toon-members] TooN Cholesky.h


From: Gerhard Reitmayr
Subject: [Toon-members] TooN Cholesky.h
Date: Tue, 14 Apr 2009 13:05:03 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Gerhard Reitmayr <gerhard>      09/04/14 13:05:03

Modified files:
        .              : Cholesky.h 

Log message:
        avoid warning

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/Cholesky.h?cvsroot=toon&r1=1.29&r2=1.30

Patches:
Index: Cholesky.h
===================================================================
RCS file: /cvsroot/toon/TooN/Cholesky.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- Cholesky.h  14 Apr 2009 12:45:05 -0000      1.29
+++ Cholesky.h  14 Apr 2009 13:05:02 -0000      1.30
@@ -67,7 +67,7 @@
                my_cholesky=m;
                int size=my_cholesky.num_rows();
                for(int col=0; col<size; col++){
-                       Precision inv_diag;
+                       Precision inv_diag = 1;
                        for(int row=col; row < size; row++){
                                // correct for the parts of cholesky already 
computed
                                Precision val = my_cholesky(row,col);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]