toon-members
[Top][All Lists]
Advanced

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

[Toon-members] TooN Cholesky.h


From: Ethan Eade
Subject: [Toon-members] TooN Cholesky.h
Date: Fri, 14 Jul 2006 18:45:37 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Ethan Eade <ethaneade>  06/07/14 18:45:37

Modified files:
        .              : Cholesky.h 

Log message:
        Fixed stupid bug in cholesky_inverse generic implementation that kept it
        from compiling.

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

Patches:
Index: Cholesky.h
===================================================================
RCS file: /cvsroot/toon/TooN/Cholesky.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- Cholesky.h  3 Jul 2006 10:03:31 -0000       1.7
+++ Cholesky.h  14 Jul 2006 18:45:37 -0000      1.8
@@ -83,7 +83,7 @@
            for (int col = 0; col<S; col++) {
                Vector<S> t,x;
                for (int i=col; i<S; i++) {
-                   double psum = v[i];
+                   double psum = 1;
                    for (int j=col; j<i; j++)
                        psum -= L[i][j]*t[j];               
                    t[i] = invdiag[i] * psum;




reply via email to

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