Solved
If your for loop runs up to last(T) you possible can't access T[i+1.
Change the for loop to run just up to last(T)-1 and see if it helps.
Welcome to the PTC Community
No account yet? Create an account
Please use your PTC eSupport account.
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.



