Jace: Bug in operators precedence
Hi, I encountered a strange bug. I have this:
A=10
u=2
r1=A*e^(-u^2/2)
r2=A*e^(-(u^2)/2)
and I get
r1=73.8905609893065
r2=1.35335283236613
I’m not an expert, but I think there’s an error in operator precedente evaluation for r1 - this should give 1.35 as well as r2.
regards
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 17
Hi all, the PR #63 is merged into our maintained fork of Jace.NET, sonic. Thank you @FabianNitsche for contributing the fix. We had the same issue in production and your PR resolved it.
If anyone is in need of a NuGet package which contains that fix, you’re welcome to give sonic a shot.