Mercurial > octave-nkf
view .hgsub @ 15820:00172e5c2302
Add autoconversion of Java numeric types (byte, short, integer, long, float) to Octave double.
Operation is only for scalar return results and matches Matlab behavior.
* libinterp/octave-value/ov-java.cc(box): Check for instance of superclass
java.lang.Number and convert to double value.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 19 Dec 2012 17:02:55 -0800 |
parents | e40ae983288f |
children | 44f30dcd87e0 |