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

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

[Octave-bug-tracker] [bug #45758] for 'range' type input some functions


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #45758] for 'range' type input some functions fail to return type range
Date: Fri, 21 Aug 2015 17:11:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.1.0

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

For better compatibility with Matlab, the class of an expression like


int8(1):int8(10)


should be int8.  That might be fairly straightforward to handle by fixing the
do_colon_op function in ov.cc, at least when special storage for ranges is
disabled.  Or we could make the Range class a template so that it can handle
types other than double.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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