You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
Evaluating something like (-0.27 + 0.66*i)^2 gives wrong output.
What version of the product are you using? On what operating system?
muParserX 2.1.6
Please provide any additional information below.
The problem lies on OprtPowCmplx::Eval which tries to remove the bogus results
comparing the imaginary and real parts with the smallest numeric limits. If
some part of the number is negative it'll consider it a bogus result and
eliminates it. The solution is to take the absolute value.
Original issue reported on code.google.com by chatran2...@gmail.com on 7 Jan 2013 at 7:57
Thank you for reporting this. I will fix it soon. The bug has exposed a minor
flaw in the unit test which i need to address first in order to eliminate it
once and for all.
Original comment by ib...@gmx.info on 8 Jan 2013 at 10:47
Original issue reported on code.google.com by
chatran2...@gmail.com
on 7 Jan 2013 at 7:57Attachments:
The text was updated successfully, but these errors were encountered: