octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44882] java arrays are not automatically conv


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #44882] java arrays are not automatically converted to octave types
Date: Thu, 23 Apr 2015 08:58:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0

Follow-up Comment #12, bug #44882 (project octave):

Ok. I believe that it is fixed now. Could you try with the new series of
patches attached?

Or alternatively, change line 1312 of libinterp/octave-value/ov-java.cc from

  else if (val.is_real_type () || val.is_bool_scalar ())

into

  else if (val.is_real_scalar () || val.is_bool_scalar ())

Also, do you know of any java method that takes void or an empty array, that
we can use for a test in this? Something in java "core" and not dependent on a
jar file available locally.

(file #33744)
    _______________________________________________________

Additional Item Attachment:

File name: convert-java-primitive-arrays.cset Size:13 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44882>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]