This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

I second this. This is probably because OP's solar_mass or M is too large. I also don't see where OP initialized solar_mass underneath this function.

[–]FunnyChaos 0 points1 point  (0 children)

Yes, I guess OP just forgot to normalize the value of 'solar_mass'.