cout << "unknown" << endl;
#endif
cerr << "CVC4 Error:" << endl << e << endl;
+ if(options.statistics) {
+ StatisticsRegistry::flushStatistics(cerr);
+ }
exit(1);
} catch(bad_alloc) {
#ifdef CVC4_COMPETITION_MODE
cout << "unknown" << endl;
#endif
cerr << "CVC4 ran out of memory." << endl;
+ if(options.statistics) {
+ StatisticsRegistry::flushStatistics(cerr);
+ }
exit(1);
} catch(...) {
#ifdef CVC4_COMPETITION_MODE
ReferenceStat< Result > s_statSatResult("sat/unsat", result);
StatisticsRegistry::registerStat(&s_statSatResult);
- if(options.statistics){
+ if(options.statistics) {
StatisticsRegistry::flushStatistics(cerr);
}