You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem was due to unrealistic conditions making a NextAcroiss assignment error. Although NextAcroiss should be always assigned in standard conditions we will rise an error to get a more explicit message.
Here is an overview of the code that leads to the error:
if leaf non-mature:
if sheath < previous sheath +13:
if leaf is hidden:
NextAcroiss calculated from FoncCroiss
if leaf is visible:
NextAcroiss calculated from FoncCroiss
if sheath > 0.98 x final sheath length AND sheath <= previous sheath - 5 AND leaf is hidden
NextAcroiss = 1
if sheath >= previous sheath +13 AND leaf is visible
NextAcroiss = 0`
When NextAcroiss is not defined, it means that the sheath is longer that the previous one but the leaf has not emerged. This situation seems unlikely. We should look for the reasons leading to such a long leaf that its sheaths become longer than the previous one before emergence. Or the issue is caused by the previous sheath that is too short @SimonRouet could you check for that please?
appears that the variable NextAcroiss could be referenced befor assignement. See complete description #here: traquet#1 (comment)
The text was updated successfully, but these errors were encountered: