Too restrictive typing (Float64) #20
Labels
03 - Confirmed
The bug filed in this issue is confirmed by a maintainer
05 - Enhancement
Improvements of existing code
good first issue
Good for newcomers
Many functions currently expect arguments to be
Float64
instead ofReal
.Constants will ideally be defined as irrationals so they don't force type promotions in calculations with other values.
For example,
expects the mass to be Float64 but I defined the electron mass as an irrational constant in my code and tried to pass that as mass.
The text was updated successfully, but these errors were encountered: