STORM_LOG_THROW(false,storm::exceptions::NotSupportedException,"Unable to get determine array size: Size of ConstructorArrayExpression still contains the "<<variables<<".");
STORM_LOG_THROW(false,storm::exceptions::NotSupportedException,"Unable to determine array size: Size of ConstructorArrayExpression '"<<expression<<"' still contains the "<<variables<<".");
}
}
}
}
@ -111,6 +111,12 @@ namespace storm {
STORM_LOG_WARN("Found Array access expression within an array expression. This is not expected since nested arrays are currently not supported.");
STORM_LOG_WARN("Found Array access expression within an array expression. This is not expected since nested arrays are currently not supported.");
STORM_LOG_THROW(false,storm::exceptions::UnexpectedException,"Found Function call expression within an array expression. This is not expected since functions are expected to be eliminated at this point.");
STORM_LOG_ASSERT(data.empty(),"VariableExpression of non-array variable should not be a subexpressions of array access expressions. However, the expression "<<expression<<" is.");
returnexpression.getSharedPointer();
returnexpression.getSharedPointer();
}
}
}
}
@ -235,7 +243,7 @@ namespace storm {
uint64_tindex=boost::any_cast<uint64_t>(data);
uint64_tindex=boost::any_cast<uint64_t>(data);
STORM_LOG_ASSERT(expression.size()->isIntegerLiteralExpression(),"unexpected kind of size expression of ValueArrayExpression ("<<expression.size()->toExpression()<<").");
STORM_LOG_ASSERT(expression.size()->isIntegerLiteralExpression(),"unexpected kind of size expression of ValueArrayExpression ("<<expression.size()->toExpression()<<").");
STORM_LOG_THROW(index<static_cast<uint64_t>(expression.size()->evaluateAsInt()),storm::exceptions::UnexpectedException,"Out of bounds array access occured while accessing index "<<index<<" of expression "<<expression);
STORM_LOG_THROW(index<static_cast<uint64_t>(expression.size()->evaluateAsInt()),storm::exceptions::UnexpectedException,"Out of bounds array access occured while accessing index "<<index<<" of expression "<<expression);
STORM_LOG_THROW(index<static_cast<uint64_t>(expression.size()->evaluateAsInt()),storm::exceptions::UnexpectedException,"Out of bounds array access occured while accessing index "<<index<<" of expression "<<expression);
STORM_LOG_THROW(index<static_cast<uint64_t>(expression.size()->evaluateAsInt()),storm::exceptions::UnexpectedException,"Out of bounds array access occured while accessing index "<<index<<" of expression "<<expression);
STORM_LOG_THROW(false,storm::exceptions::UnexpectedException,"Found Function call expression while eliminating array expressions. This is not expected since functions are expected to be eliminated at this point.");
xxxxxxxxxx