SymbolicPathFinder / jpf-symbc

Symbolic PathFinder
https://github.com/SymbolicPathFinder/jpf-symbc
130 stars 91 forks source link

Error in gov.nasa.jpf.symbc.numeric.solvers.ProblemZ3 class #12

Closed srgiri closed 6 years ago

srgiri commented 6 years ago

Hi, I am getting one error:

java.lang.NumberFormatException: For input string: "0.0000000000?"

when using float and double as method arguments.

I observed if I modify the line# 1120 in ProblemZ3 class form

return Double.parseDouble(strResult); 

to

 return Double.parseDouble(strResult.replace("?", "").trim());

then it works properly. Please check this issue.

Regards, S R Giri

corinus commented 6 years ago

yes you are right. I will correct. Corina

corinus commented 6 years ago

This error has been fixed. Please check. Thank you, Corina

srgiri commented 6 years ago

Thank you.