Mercurial > hg > octave-terminal
changeset 2529:90fa35bd0216
[project @ 1996-11-19 18:02:22 by jwe]
author | jwe |
---|---|
date | Tue, 19 Nov 1996 18:02:22 +0000 |
parents | 704d7e130e71 |
children | 64f403ef483d |
files | src/pt-mat.cc src/pt-mat.h |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pt-mat.cc +++ b/src/pt-mat.cc @@ -368,7 +368,7 @@ } bool -tree_matrix_row::is_matrix_constant (void) const +tree_matrix_row::all_elements_are_constant (void) const { for (Pix p = first (); p != 0; next (p)) { @@ -435,13 +435,13 @@ } bool -tree_matrix::is_matrix_constant (void) const +tree_matrix::all_elements_are_constant (void) const { for (Pix p = first (); p != 0; next (p)) { tree_matrix_row *elt = this->operator () (p); - if (! elt->is_matrix_constant ()) + if (! elt->all_elements_are_constant ()) return false; }
--- a/src/pt-mat.h +++ b/src/pt-mat.h @@ -54,7 +54,7 @@ ~tree_matrix_row (void) { } - bool is_matrix_constant (void) const; + bool all_elements_are_constant (void) const; tree_return_list *to_return_list (void); @@ -75,7 +75,7 @@ ~tree_matrix (void) { } - bool is_matrix_constant (void) const; + bool all_elements_are_constant (void) const; octave_value eval (bool print);