Skip to content Skip to sidebar Skip to footer

Typeerror: Object Array May Be Self-referencing Python

So, I ran into this error: temp7: 1.68219771725e-06 temp6: [[array([-60800056.33037408], dtype=object)]] Exception in thread Thread-4: Traceback (most recent call last): File

Solution 1:

I tried to reproduce the error. The error I got is:

TypeError: must be real number, not list

If the error is same then it was solved by doing this:

thisJ = temp7 * math.exp(temp6[0][0])

Because temp6 type is list containing list containing array object. Please do correct me if I am wrong.

Post a Comment for "Typeerror: Object Array May Be Self-referencing Python"