changeset 6148:4010c7474c9b

[project @ 2006-11-09 07:28:55 by jwe]
author jwe
date Thu, 09 Nov 2006 07:28:55 +0000
parents e14b0e9b7bf7
children 3a68a2dc6eb1
files liboctave/ChangeLog liboctave/sparse-base-chol.cc
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/ChangeLog	Thu Nov 09 03:28:01 2006 +0000
+++ b/liboctave/ChangeLog	Thu Nov 09 07:28:55 2006 +0000
@@ -1,3 +1,8 @@
+2006-11-09  David Bateman  <dbateman@free.fr>
+
+	* sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to
+	octave_idx_type, not int.
+
 2006-11-08  John W. Eaton  <jwe@octave.org>
 
 	* dir-ops.cc (dir_entry::read): Avoid rewinddir.
--- a/liboctave/sparse-base-chol.cc	Thu Nov 09 03:28:01 2006 +0000
+++ b/liboctave/sparse-base-chol.cc	Thu Nov 09 07:28:55 2006 +0000
@@ -260,7 +260,7 @@
   for (octave_idx_type i = 0; i < n; i++)
     {
       p.xcidx(i) = i;
-      p.xridx(i) = static_cast<int>(perms(i));
+      p.xridx(i) = static_cast<octave_idx_type>(perms(i));
       p.xdata(i) = 1;
     }
   p.xcidx(n) = n;