Skip to content

Commit de1bd66

Browse files
Add missing cast
Without the cast we get a spurious UNSAT.
1 parent a4e9328 commit de1bd66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/java/lang/String.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4333,7 +4333,7 @@ public static String valueOf(float f) {
43334333
*/
43344334
public static String valueOf(double d) {
43354335
// string solver only knows how to convert floats to string
4336-
return CProverString.toString(d);
4336+
return CProverString.toString((float)d);
43374337
// return Double.toString(d);
43384338
}
43394339

0 commit comments

Comments
 (0)