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

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

[Octave-bug-tracker] [bug #59244] class java.lang.Double cannot be cast


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59244] class java.lang.Double cannot be cast to class java.lang.Float
Date: Fri, 9 Oct 2020 16:05:54 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.70

Follow-up Comment #7, bug #59244 (project octave):

Hmmm. That looks different from https://savannah.gnu.org/bugs/?51804#comment6
Maybe like this?

x = javaObject ("java.lang.Float", 0)
m = methods (x)


Which command is even raising the error?
Does the following work if you execute it line by line? Which lines fail?

n = javaObject ("java.lang.Float", 1.35)
n.compareTo (single (1.0))
n.compareTo (1.0)



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59244>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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