changeset 20285:209ee4a730f6 stable

Convert double Octave vectors to double Java vectors (bug #45264). * ov-java.cc (unbox): Add missing IF_UNBOX_PRIMITIVE_ARRAY macro instantiation for double values.
author Rik <rik@octave.org>
date Tue, 09 Jun 2015 16:10:59 -0700
parents 6fe746def1aa
children c4f436483e49
files libinterp/octave-value/ov-java.cc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/octave-value/ov-java.cc	Tue Jun 02 00:12:30 2015 +0200
+++ b/libinterp/octave-value/ov-java.cc	Tue Jun 09 16:10:59 2015 -0700
@@ -1296,7 +1296,8 @@
 
       // Note that we do NOT handle char here because they are unboxed
       // into a String[], not into a char array
-           IF_UNBOX_PRIMITIVE_ARRAY(bool,   bool_,   bool,   jboolean, Boolean)
+           IF_UNBOX_PRIMITIVE_ARRAY(double,      ,       ,   jdouble,  Double)
+      else IF_UNBOX_PRIMITIVE_ARRAY(bool,   bool_,   bool,   jboolean, Boolean)
       else IF_UNBOX_PRIMITIVE_ARRAY(float,  float_,  Float,  jfloat,   Float)
       else IF_UNBOX_PRIMITIVE_ARRAY(int8,   int8_,   int8,   jbyte,    Byte)
       else IF_UNBOX_PRIMITIVE_ARRAY(uint8,  uint8_,  uint8,  jbyte,    Byte)