@ -3607,8 +3607,6 @@ public class Prism extends PrismComponent implements PrismSettingsListener
throw new PrismException ( "Steady-state probabilities only computed for DTMCs/CTMCs" ) ;
throw new PrismException ( "Steady-state probabilities only computed for DTMCs/CTMCs" ) ;
if ( time < 0 )
if ( time < 0 )
throw new PrismException ( "Cannot compute transient probabilities for negative time value" ) ;
throw new PrismException ( "Cannot compute transient probabilities for negative time value" ) ;
if ( fileOut ! = null & & getEngine ( ) = = MTBDD )
throw new PrismException ( "Transient probability export only supported for sparse/hybrid engines" ) ;
if ( exportType = = EXPORT_MRMC )
if ( exportType = = EXPORT_MRMC )
exportType = EXPORT_PLAIN ; / / no specific states format for MRMC
exportType = EXPORT_PLAIN ; / / no specific states format for MRMC
if ( exportType = = EXPORT_ROWS )
if ( exportType = = EXPORT_ROWS )
@ -3704,8 +3702,6 @@ public class Prism extends PrismComponent implements PrismSettingsListener
/ / Do some checks
/ / Do some checks
if ( ! ( currentModelType = = ModelType . CTMC | | currentModelType = = ModelType . DTMC ) )
if ( ! ( currentModelType = = ModelType . CTMC | | currentModelType = = ModelType . DTMC ) )
throw new PrismException ( "Steady-state probabilities only computed for DTMCs/CTMCs" ) ;
throw new PrismException ( "Steady-state probabilities only computed for DTMCs/CTMCs" ) ;
if ( fileOut ! = null & & getEngine ( ) = = MTBDD )
throw new PrismException ( "Transient probability export only supported for sparse/hybrid engines" ) ;
if ( exportType = = EXPORT_MRMC )
if ( exportType = = EXPORT_MRMC )
exportType = EXPORT_PLAIN ; / / no specific states format for MRMC
exportType = EXPORT_PLAIN ; / / no specific states format for MRMC
if ( exportType = = EXPORT_ROWS )
if ( exportType = = EXPORT_ROWS )