Potential Bug in Unit.power

The org.orekit.utils.units.Unit#power method multiplies the current values with itself instead of with th exponent like the other fields. I am not sure this is a bug or not, but I wanted to report it. For some reason I can’t properly access the Gitlab right now, otherwise I would have opened an issue there.

Orekit version 13.1.8

Thanks for the report!

I’ll open (and then fix) the bug on gitlab soon.

It is fixed in the upcoming patch release (13.1.9) and in the develop branch (merge is in progress).

Thanks a lot