Avoid clobbering r
variable in Bessel function #7
Loadingâ¦
Reference in New Issue
No description provided.
Delete Branch "mcf/bc:bessel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
j
function usesr
to accumulate its result, but did notdeclare it with auto, causing the caller's value to be clobbered.
To fix this, declare
r
as auto to make it a local variable.Obvious bug is obvious, and obvious fix is obvious. I will put out a release very soon. Thank you!
Sorry, I didn't mean that what you did wasn't valuable. I obviously didn't catch it.
What I meant is that is was obvious that your fix was good.
Words...
Release is out!