[OctDev] datevec bugs
Daniel J Sebald
daniel.sebald at ieee.org
Thu Dec 11 21:00:09 CST 2008
OK, thanks Søren...
Folks, attached is a small patch to fix a couple bugs in datevec.m so that it works with string arrays and cell string arrays.
Dan
PS: A faster version of datevec would be welcome. It seems to require 7/100 of a second to do a single conversion on my machine.
Søren Hauberg wrote:
> ons, 10 12 2008 kl. 03:05 -0600, skrev Daniel J Sebald:
>
>> Here is a patch to fix some problems with datevec in working with
>> string arrays and cell arrays. One bug is a strange assignment of
>> all strings to a cell of size 1 when cellstr() seems clearly
>> preferred. A second bug is that length() gives an incorrect value
>> when the number of date strings is greater than the character
>> width.
>
>
> 'datevec' seems to be part of core Octave, so could you send your
> patch to bug at octave.org? Otherwise, I fear people with commit access
> to Octave won't see your patch.
>
> Søren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: datevec_djs_11dec2008.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20081211/84e77e66/attachment.bin
More information about the Octave-maintainers
mailing list