Bobae Jeon

Results 1 comments of Bobae Jeon

I found out it happens when ti==pi. The norm becomes 0, therefore di becomes nan (divided by 0). I added epsilon to the denominator(1e-6) and the error never occurred.