Browse Source

Fixed parsing of ' in GalileoParser

tempestpy_adaptions
Matthias Volk 4 years ago
parent
commit
e933df1fc1
No known key found for this signature in database GPG Key ID: 83A57678F739FCD3
  1. 2
      src/storm-dft/parser/DFTGalileoParser.cpp

2
src/storm-dft/parser/DFTGalileoParser.cpp

@ -148,7 +148,7 @@ namespace storm {
ValueType probability = valueParser.parseValue(type.substr(5)); ValueType probability = valueParser.parseValue(type.substr(5));
success = builder.addDepElement(name, childNames, probability); success = builder.addDepElement(name, childNames, probability);
} else if (type.find("=") != std::string::npos) { } else if (type.find("=") != std::string::npos) {
success = parseBasicElement(name, line, lineNo, builder, valueParser);
success = parseBasicElement(tokens[0], line, lineNo, builder, valueParser);
} else if (type.find("insp") != std::string::npos) { } else if (type.find("insp") != std::string::npos) {
// Inspection as defined by DFTCalc // Inspection as defined by DFTCalc
STORM_LOG_THROW(false, storm::exceptions::NotSupportedException, "Inspections (defined in line " << lineNo << ") are not supported."); STORM_LOG_THROW(false, storm::exceptions::NotSupportedException, "Inspections (defined in line " << lineNo << ") are not supported.");

Loading…
Cancel
Save