bugGNU Octave - Bugs: bug #37621, isbusday() error when input...

 
 

bug #37621: isbusday() error when input contains decimal values

Submitted by:  Randy <littlemanrkc>
Submitted on:  Tue 23 Oct 2012 06:54:31 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Inaccurate Result
Status: Octave ForgeAssigned to: None
Originator Name: RandyOpen/Closed: Closed
Release: 3.6.1Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 26 Oct 2012 03:49:03 AM UTC, comment #3:

Hi

thanks for the bug report. As Jordi mentioned, this was the wrong bug tracker. I have made the suggested change https://sourceforge.net/p/octave/code/11360

Carnë

Carnë Draug <carandraug>
Project Member
Thu 25 Oct 2012 01:41:42 PM UTC, comment #2:

I used the wrong OF address, fixed now.

Jordi Gutiérrez Hermoso <jordigh>
Project Administrator
Tue 23 Oct 2012 07:04:47 PM UTC, comment #1:

This looks like a problem with an Octave Forge package, not a bug
in Octave. The correct place to report this problem is the
Octave Forge mailing list, octave-dev@lists.sourceforge.net.

A copy of this update to the bug report is being sent to that
list so that they are aware of it. Please follow up there.

Jordi Gutiérrez Hermoso <jordigh>
Project Administrator
Tue 23 Oct 2012 06:54:31 PM UTC, original submission:

In the Octave-Forge financial package, isbusday() includes some extra holidays when the datenums passed into the function are not integer values.

To replicate:

As a fix for my local copy, I modified line 50 to be
Since hol contains only integer values and rd might contain non-integer values (that should be equivalent holiday-wise to integer values).

Randy <littlemanrkc>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by carandraug (Posted a comment)
  • -unavailable- added by jordigh
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by littlemanrkc (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 25 Oct 2012 01:41:13 PM UTCjordighCarbon-Copy-=>Added -unavailable-
    Thu 25 Oct 2012 01:40:52 PM UTCjordighCarbon-CopyRemoved -unavailable-=>-
    Tue 23 Oct 2012 07:04:47 PM UTCjordighStatusNone=>Octave Forge
      Open/ClosedOpen=>Closed
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1