Message Boards Message Boards

0
|
6490 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Why do I get recursion depth exceeded error and not a list of numbers error

Posted 9 years ago
Attachments:
2 Replies
Posted 9 years ago

The problem with your implementation is that you have circular dependencies:

RS[VBGS,IDS ] depends on QBGSaccess[VBGS,IDS]

QBGSaccess[VBGS,IDS] depends on VBGSp[VBGS,IDS]

VBGSp[VBGS,IDS] depends on RS[VBGS,IDS]

and the cycle starts again and never gets to an ending. And that is why your recurrence happens.

Can you let me know how you solved this problem?, I would like to know what the stop conditions should be.

POSTED BY: Juan Miranda

Oh, I see. Thank you. However, if I take the circular dependence out and make RD and RS constant, like in the attached code, it still says not a list of numbers of dimension 1. It should work this way, I just can't figure out why it's not.

Attachments:
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