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

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

[Octave-bug-tracker] [bug #50508] datenum() crashes for non-integer mont


From: Lars Kindermann
Subject: [Octave-bug-tracker] [bug #50508] datenum() crashes for non-integer month arrays
Date: Mon, 13 Mar 2017 07:31:00 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

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

datenum() still crashes for fractional month using the other calling
convention: datenum(year,month,day):

+verbose+
>> datestr(datenum(2000:2003,2,1))
ans =

01-Feb-2000
01-Feb-2001
01-Feb-2002
01-Feb-2003
-verbose-

works, but

+verbose+
>> datestr(datenum(2000:2004,2.5,1))
error: fracmonth(4): out of bound 1
error: called from
    datenum at line 135 column 14
-verbose-


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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