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

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

[Octave-bug-tracker] [bug #48591] function double on java objects.


From: Ernst Reissner
Subject: [Octave-bug-tracker] [bug #48591] function double on java objects.
Date: Thu, 11 Aug 2016 14:38:45 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

Follow-up Comment #2, bug #48591 (project octave):

Hello Mike, 
I would like to provide a patch for this. 

I would write an m-file double.m 
delegating to the builtin function double 
except for java types. 

For those I would check for java.lang.Number 
and then apply Number.doubleValue(). 

Is this acceptable?? 

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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