Mercurial > hg > octave-nkf
diff liboctave/dSparse.h @ 7922:935be827eaf8
error for NaN values in & and | expressions
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 11 Jul 2008 14:56:30 -0400 |
parents | 1a446f28ce68 |
children | b11c31849b44 |
line wrap: on
line diff
--- a/liboctave/dSparse.h +++ b/liboctave/dSparse.h @@ -372,6 +372,7 @@ // other operations bool any_element_is_negative (bool = false) const; + bool any_element_is_nan (void) const; bool any_element_is_inf_or_nan (void) const; bool all_elements_are_zero (void) const; bool all_elements_are_int_or_inf_or_nan (void) const;