problem wit "NaN"

i made script for simple gravity and everyting is working good, but i have milion errors in console

3033032--226937--b3.png
plis help me

If the gameobjct this script is attatched to has a rigidbody, when the loop iterates over all rigidbodies there is an instant where this.transform.position - o.transform.position equals zero, and you cannot divide by zero.