Closed navravi closed 1 year ago
Currently, log10 uses math.Log(), which applies then natural logarithm instead of the base-10 logarithm. It should be using math.Log10().
log10
math.Log()
math.Log10()
Additionally, fix some typos in the error messages and documentation.
Please take a look.
Coverage: 68.959%. Remained the same when pulling 27d2e374c9153ade0deacc08cd6ac2791c379ae2 on navravi:patch-2 into 3b66072cce8227389b44bde37fde232a45f14c97 on spatialmodel:master.
Thanks!
Currently,
log10
usesmath.Log()
, which applies then natural logarithm instead of the base-10 logarithm. It should be usingmath.Log10()
.Additionally, fix some typos in the error messages and documentation.
Please take a look.