--- trunk/pygtk/simulation.cpp 2007/02/26 07:33:49 1293 +++ trunk/pygtk/simulation.cpp 2007/02/26 22:44:04 1294 @@ -298,10 +298,9 @@ void Simulation::checkInstance(){ //cerr << "CHECKING SIMULATION INSTANCE" << endl; - /*if(!is_built){ - ERROR_REPORTER_HERE(ASC_PROG_ERR,"Simulation has not been built"); - return; - }*/ + if(!is_built){ + build(); + } Instance *i1 = getModel().getInternalType(); CheckInstance(stderr, &*i1); //cerr << "DONE CHECKING INSTANCE" << endl;