Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.2K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

Avoid error with the following recursive code?

Posted 7 years ago
POSTED BY: Joe Gilray
2 Replies
Posted 7 years ago

Thanks Gianluca! Of course, I meant to index v from 1 to 5 not 0 to 4. Comes from spending the past 2 months programming in Racket and Rust... how quickly I forget. :-/

POSTED BY: Joe Gilray

When the variable heading becomes zero, the test nv[[heading]] == hlim becomes List==5, which may not be what you intended.

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