[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34347] weekday.m is broken - line 63
From: |
Stein Arild Moi |
Subject: |
[Octave-bug-tracker] [bug #34347] weekday.m is broken - line 63 |
Date: |
Tue, 20 Sep 2011 18:49:04 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1 |
URL:
<http://savannah.gnu.org/bugs/?34347>
Summary: weekday.m is broken - line 63
Project: GNU Octave
Submitted by: neistridlar
Submitted on: Tue 20 Sep 2011 06:49:03 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.3
Operating System: GNU/Linux
_______________________________________________________
Details:
>>> [a, b] = weekday(date, 'long')
error: number of columns must match
>>>error: called from:
error: /usr/share/octave/3.2.3/m/time/weekday.m at line 63, column 13
The error message points to '=' on line 63:
names = {"Sunday" "Monday" "Tuesday" "Wednesday" "Thursday"
"Friday" "Saturday"};
removing the newline fixes the problem:
names = {"Sunday" "Monday" "Tuesday" "Wednesday" "Thursday" "Friday"
"Saturday"};
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 20 Sep 2011 06:49:03 PM GMT Name: weekday.m.working Size: 3kB
By: neistridlar
This file works as expected
<http://savannah.gnu.org/bugs/download.php?file_id=24001>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34347>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34347] weekday.m is broken - line 63,
Stein Arild Moi <=