Browse Source

fixing compilation of storm-pars

tempestpy_adaptions
Tim Quatmann 4 years ago
parent
commit
211a72b6d7
  1. 4
      src/storm/api/export.h

4
src/storm/api/export.h

@ -64,7 +64,7 @@ namespace storm {
}
template <typename ValueType>
void exportCheckResultToJson(std::shared_ptr<storm::models::sparse::Model<ValueType>> const& model, std::unique_ptr<storm::modelchecker::CheckResult> const& checkResult, std::string const& filename) {
inline void exportCheckResultToJson(std::shared_ptr<storm::models::sparse::Model<ValueType>> const& model, std::unique_ptr<storm::modelchecker::CheckResult> const& checkResult, std::string const& filename) {
std::ofstream stream;
storm::utility::openFile(filename, stream);
if (checkResult->isExplicitQualitativeCheckResult()) {
@ -77,7 +77,7 @@ namespace storm {
}
template <>
void exportCheckResultToJson<storm::RationalFunction>(std::shared_ptr<storm::models::sparse::Model<storm::RationalFunction>> const&, std::unique_ptr<storm::modelchecker::CheckResult> const&, std::string const&) {
inline void exportCheckResultToJson<storm::RationalFunction>(std::shared_ptr<storm::models::sparse::Model<storm::RationalFunction>> const&, std::unique_ptr<storm::modelchecker::CheckResult> const&, std::string const&) {
STORM_LOG_THROW(false, storm::exceptions::NotSupportedException, "Export of check results is not supported for rational functions. ");
}

Loading…
Cancel
Save