nrc-cnrc / MetroloPy

Tools for uncertainty propagation and measurement unit conversion — Outils pour la propagation des incertitudes et la conversion d'unités de mesure
https://nrc-cnrc.github.io/MetroloPy
GNU General Public License v3.0
34 stars 6 forks source link

multiplying a gummy with a complex number should create a jummy #30

Closed JensReimann closed 2 years ago

JensReimann commented 2 years ago

Any operation (e.g. multiplication) of a gummy with a complex number raises an exception. It should rather create a jummy.

This probably require only some additional conditional checks in the ummy code to work and would lead to a more expectable behaviour.

hvparks commented 2 years ago

Thanks, I will take a look at this. I still have not though the handling of complex numbers through completely.

hvparks commented 2 years ago

Thanks, sorry it took so long to get back to this. I have added this functionality to version 0.6.3.