Browse Source

Show error if trying to build unsupported models symbolically.

accumulation-v4.7
Dave Parker 6 years ago
parent
commit
929079a08b
  1. 5
      prism/src/prism/Modules2MTBDD.java

5
prism/src/prism/Modules2MTBDD.java

@ -191,6 +191,11 @@ public class Modules2MTBDD
synchs = modulesFile.getSynchs();
numSynchs = synchs.size();
// check model type is supported
if (!(modelType == ModelType.DTMC || modelType == ModelType.MDP || modelType == ModelType.CTMC)) {
throw new PrismException("Symbolic construction of " + modelType + "s not supported");
}
// allocate dd variables
allocateDDVars();
sortDDVars();

Loading…
Cancel
Save