changeset 5188:fd90c6df7d52

[project @ 2005-03-03 08:00:25 by jwe]
author jwe
date Thu, 03 Mar 2005 08:00:26 +0000
parents e58bbd2b9c94
children 85b315ad5f7d
files src/ChangeLog src/ov-bool-sparse.cc src/ov-bool-sparse.h
diffstat 3 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Mar 03 07:20:32 2005 +0000
+++ b/src/ChangeLog	Thu Mar 03 08:00:26 2005 +0000
@@ -1,5 +1,10 @@
 2005-03-03  John W. Eaton  <jwe@octave.org>
 
+	* ov-bool-sparse.h, ov-bool-sparse.cc
+	(octave_sparse_bool_matrix::sparse_matrix_value,
+	octave_sparse_bool_matrix::sparse_complex_matrix_value):
+	Accept bool arg.
+
 	* parse.y (looks_like_copyright): Check first 9 characters, not 14.
 
 2005-03-02  John W. Eaton  <jwe@octave.org>
--- a/src/ov-bool-sparse.cc	Thu Mar 03 07:20:32 2005 +0000
+++ b/src/ov-bool-sparse.cc	Thu Mar 03 08:00:26 2005 +0000
@@ -180,13 +180,13 @@
 
 
 SparseMatrix 
-octave_sparse_bool_matrix::sparse_matrix_value (void) const
+octave_sparse_bool_matrix::sparse_matrix_value (bool) const
 {
   return SparseMatrix (this->matrix);
 }
 
 SparseComplexMatrix 
-octave_sparse_bool_matrix::sparse_complex_matrix_value (void) const
+octave_sparse_bool_matrix::sparse_complex_matrix_value (bool) const
 {
   return SparseComplexMatrix (this->matrix);
 }
--- a/src/ov-bool-sparse.h	Thu Mar 03 07:20:32 2005 +0000
+++ b/src/ov-bool-sparse.h	Thu Mar 03 08:00:26 2005 +0000
@@ -113,9 +113,9 @@
 
   boolNDArray bool_array_value (void) const;
 
-  SparseMatrix sparse_matrix_value (void) const;
+  SparseMatrix sparse_matrix_value (bool = false) const;
 
-  SparseComplexMatrix sparse_complex_matrix_value (void) const;
+  SparseComplexMatrix sparse_complex_matrix_value (bool = false) const;
 
   SparseBoolMatrix sparse_bool_matrix_value (void) const
     { return matrix; }