Commit ff1e306 1 parent 8b6d456 commit ff1e306 Copy full SHA for ff1e306
File tree 2 files changed +2
-2
lines changed
processSimulation/util/report
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ public String generateJsonReport() {
110
110
}
111
111
112
112
// Convert the final JsonObject to a JSON string with pretty printing
113
- Gson prettyGson = new GsonBuilder ().setPrettyPrinting ().create ();
113
+ Gson prettyGson = new GsonBuilder ().serializeSpecialFloatingPointValues (). setPrettyPrinting ().create ();
114
114
return prettyGson .toJson (finalJsonObject );
115
115
}
116
116
}
Original file line number Diff line number Diff line change @@ -1322,7 +1322,7 @@ public void bubblePointPressureFlash(boolean derivatives) throws Exception {
1322
1322
operation .run ();
1323
1323
if (Double .isNaN (system .getPressure ()) || operation .isSuperCritical ()) {
1324
1324
throw new neqsim .util .exception .IsNaNException (this .getClass ().getSimpleName (),
1325
- "bubblePointPressureFlash" , "Could not find solution - possible no dew point exists" );
1325
+ "bubblePointPressureFlash" , "Could not find solution - possible no bubble point exists" );
1326
1326
}
1327
1327
}
1328
1328
You can’t perform that action at this time.
0 commit comments