STORM_LOG_THROW(initVal->getType().isArrayType(),storm::exceptions::InvalidJaniException,"Initial value for array variable "+name+"(scope "+scopeDescription+") should be an Array");
STORM_LOG_THROW(false,storm::exceptions::InvalidJaniException,"Unknown type description, "<<variableStructure.at("type").dump()<<" for variable '"<<name<<"' (scope: "<<scopeDescription<<")");
STORM_LOG_ASSERT(!varInfoIndices.empty()&&varInfoIndices.back()==index,"Could not find a basic variable for replacement of array variable "<<replacedVar->getExpressionVariable().getName()<<" .");
STORM_LOG_ASSERT(!varInfoIndices.empty()&&varInfoIndices.back()==index,"Could not find a basic variable for replacement of array variable "<<replacedVar->getExpressionVariable().getName()<<" .");
}else{
STORM_LOG_ASSERT(false,"Unhandled type of base variable.");
}
}
STORM_LOG_ASSERT(arrayReplacements.second.size()==varInfoIndices.size(),"Could not find a basic variable for every array variable replacement.");