Browse Source

export in api can be called without explicitly giving parameter names

tempestpy_adaptions
Sebastian Junges 5 years ago
parent
commit
be3ff1520f
  1. 2
      src/storm/api/export.h

2
src/storm/api/export.h

@ -19,7 +19,7 @@ namespace storm {
void exportJaniModelAsDot(storm::jani::Model const& model, std::string const& filename); void exportJaniModelAsDot(storm::jani::Model const& model, std::string const& filename);
template <typename ValueType> template <typename ValueType>
void exportSparseModelAsDrn(std::shared_ptr<storm::models::sparse::Model<ValueType>> const& model, std::string const& filename, std::vector<std::string> const& parameterNames) {
void exportSparseModelAsDrn(std::shared_ptr<storm::models::sparse::Model<ValueType>> const& model, std::string const& filename, std::vector<std::string> const& parameterNames = {}) {
std::ofstream stream; std::ofstream stream;
storm::utility::openFile(filename, stream); storm::utility::openFile(filename, stream);
storm::exporter::explicitExportSparseModel(stream, model, parameterNames); storm::exporter::explicitExportSparseModel(stream, model, parameterNames);

Loading…
Cancel
Save