Bugfixes;

Restarts now reproduce longer Sims
This commit is contained in:
2024-09-11 14:56:14 +02:00
parent 75bb2e4d85
commit b4cbd8c44c
9 changed files with 53 additions and 14 deletions
+3 -2
View File
@@ -214,8 +214,9 @@ std::stringstream Hdf5Reader::readEngineString(std::string path) {
size_t size = H5Tget_size(dtype);
if(size != SimConstants::engine_string_length_max) {
ERROR("Size of the string is not the required size of 6730, size of string: "
+ std::to_string(size));
ERROR("Size of the string is not the required size of " +
std::to_string(SimConstants::engine_string_length_max) +
", size of string: " + std::to_string(size));
}
DEBUG_LEVEL_3("RestartInfo: " + std::to_string(H5Tdetect_class(dtype, H5T_STRING)));