diff liboctave/boolMatrix.cc @ 10351:5150ceb4dbb4

base charMatrix and boolMatrix on Array<char>
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 23 Feb 2010 14:15:34 +0100
parents 4c0cdbe0acca
children b47ab50a6aa8
line wrap: on
line diff
--- a/liboctave/boolMatrix.cc	Sat Jan 23 21:41:03 2010 +0100
+++ b/liboctave/boolMatrix.cc	Tue Feb 23 14:15:34 2010 +0100
@@ -56,7 +56,7 @@
 boolMatrix&
 boolMatrix::insert (const boolMatrix& a, octave_idx_type r, octave_idx_type c)
 {
-  Array2<bool>::insert (a, r, c);
+  Array<bool>::insert (a, r, c);
   return *this;
 }
 
@@ -82,7 +82,7 @@
 boolMatrix
 boolMatrix::diag (octave_idx_type k) const
 {
-  return Array2<bool>::diag (k);
+  return Array<bool>::diag (k);
 }
 
 // FIXME Do these really belong here?  Maybe they should be