Mercurial > hg > octave-nkf
changeset 20256:d7b1999f0554
Second fix for exist() should return 1 for java objects (bug #44764).
* ov-java.h: Overload is_constant() function to return true for
java octave-values.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 08 Apr 2015 08:19:28 -0700 |
parents | ae12edf69bce |
children | 0f1a722133f4 |
files | libinterp/octave-value/ov-java.h |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-java.h +++ b/libinterp/octave-value/ov-java.h @@ -143,9 +143,7 @@ bool is_defined (void) const { return true; } - // FIXME: Is a variable containing a java object an object? - // Or should this be is_constant like a matrix? - bool is_object (void) const { return true; } + bool is_constant (void) const { return true; } bool is_map (void) const { return false; }