Re: gama-local 1.6.01 bug

Ales Cepek <[email protected]> Thu, 18 Mar 2004 18:12:41 +0100
Newsgroups gmane.comp.gnu.gama.bugs
Message-ID <[email protected]>
On 23:55:07 Wednesday,17 March 2004 
Ales Cepek <[email protected]> wrote:

 > 
 > gama-local 1.6.01 fails to solve correlated observations (probably a
 > bug in cholesky decomposition of *active* covariance matrix; version
 > 1.6.00 works correctly).
 
--- obsdata.h-bug	Thu Mar 18 11:57:06 2004
+++ obsdata.h	Thu Mar 18 11:58:08 2004
@@ -345,8 +345,10 @@
       const Index i_size = observation_list.size();
       Index active_band  = covariance_matrix.bandWidth();
 
-      if (N && N-1 < active_band) 
-        active_band = N-1;
+      if (N)
+        {
+          if (N-1 < active_band) active_band = N-1;
+        }
       else
         active_band = 0;
 
-------------------- 

I have updated the source to the CVS develeopment branch 1.7 (main trunk)

New stable version will be released after testing of 360 degrees
(as an alternative to gons) in XML input/output for gama-local.


Ales Cepek