diff --git a/prism/include/hybrid.h b/prism/include/hybrid.h index 1ad18fba..6390ab74 100644 --- a/prism/include/hybrid.h +++ b/prism/include/hybrid.h @@ -32,7 +32,7 @@ //------------------------------------------------------------------------------ -int fatal(char *s); +void fatal(char *s); // hdd data structure definitions diff --git a/prism/src/dd/dd_info.cc b/prism/src/dd/dd_info.cc index 3dc4e3c3..2261ce39 100644 --- a/prism/src/dd/dd_info.cc +++ b/prism/src/dd/dd_info.cc @@ -195,7 +195,7 @@ bool and_numbers) Cudd_RecursiveDeref(ddman, tmp); // Finally, print if there are (and possibly how many) minus infinities if (and_numbers) { - if (count < (1< -int fatal( char *s) { fprintf(stderr, "fatal...\n"); perror(s); exit(10); } +void fatal( char *s) { fprintf(stderr, "fatal...\n"); perror(s); exit(10); } // globals (used by local functions) static HDDMatrix *hddm;