]> gitweb.michael.orlitzky.com - octave.git/blob - errcheck.m
Add the Octave c_inner_product function.
[octave.git] / errcheck.m
1 function e = errcheck(error_prefix)
2 e = 1;
3 if (index(__error_text__, error_prefix) != 1)
4 e = 0;
5 printf("\nUNEXPECTED ERROR: %s", __error_text__);
6 endif
7 end