Message Boards Message Boards

2
|
471 Views
|
3 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Is TimeValue still broken in 14.2? Answer is No

Posted 13 days ago

As of 14.1, TimeValue required Cashflow arguments to consist of uniformly sampled data. This code is an example:

cf = Cashflow[
   {{{2024, 1, 16}, 324.67}, {{2024, 2, 6}, 634.09}, {{2024, 11, 20}, 
     356.27}, {{2023, 12, 31}, 0}}];

TimeValue[cf, .05, {2023, 1, 1}]

 (* TimeValue::unisp: Uniformly sampled data expected at position 1 in Cashflow[{{{2024,1,16},324.67},{{2024,2,6},634.09},{{2024,11,20},356.27},{{2023,12,31},0}}]. *)

I am running Mathematica desktop 14.1 on Win 10 Pro.

This issue did not occur in previous versions.

On 19 August 2024, I reported this to tech support and received this reply: "It does appear that TimeValue has regressed in 14.1. I have forwarded an issue report to our developers with the information you provided, and added your contact information to the report so that you can be notified when it is resolved."

I believe some of you have access to a beta release of version 14.2. Would someone please check to see if this issue has been fixed. If not, I perhaps have a chance to advocate for a fix before the final release of 14.2.

Thank you.

POSTED BY: David Keith
3 Replies
Posted 12 days ago

Thank you, Ruben. That is hopeful. Although I don't recall designing the example to return such an interesting sequence of digits.

POSTED BY: David Keith
Posted 11 days ago

In version 14.1, I sum the present values of the three non-zero cash flows and do indeed get 1234.56. They have fixed the problem!

POSTED BY: David Keith

Hi David, the current beta release of version 14.2 returns 1234.56 when executing your code.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract