alllow printing of exeptions to be enabled/disabled

This commit is contained in:
conrad
2021-04-01 18:17:47 +10:00
parent a8b3078aab
commit 8869d4be56
2 changed files with 16 additions and 0 deletions
+8
View File
@@ -217,6 +217,10 @@
//// Comment out the above line if you don't want errors and warnings printed (eg. failed decompositions)
#endif
#if !defined(ARMA_PRINT_EXCEPTIONS)
// #define ARMA_PRINT_EXCEPTIONS
#endif
#if !defined(ARMA_PRINT_HDF5_ERRORS)
// #define ARMA_PRINT_HDF5_ERRORS
#endif
@@ -311,6 +315,10 @@
#undef ARMA_PRINT_ERRORS
#endif
#if defined(ARMA_DONT_PRINT_EXCEPTIONS)
#undef ARMA_PRINT_EXCEPTIONS
#endif
#if defined(ARMA_DONT_PRINT_HDF5_ERRORS)
#undef ARMA_PRINT_HDF5_ERRORS
#endif
+8
View File
@@ -217,6 +217,10 @@
//// Comment out the above line if you don't want errors and warnings printed (eg. failed decompositions)
#endif
#if !defined(ARMA_PRINT_EXCEPTIONS)
// #define ARMA_PRINT_EXCEPTIONS
#endif
#if !defined(ARMA_PRINT_HDF5_ERRORS)
// #define ARMA_PRINT_HDF5_ERRORS
#endif
@@ -311,6 +315,10 @@
#undef ARMA_PRINT_ERRORS
#endif
#if defined(ARMA_DONT_PRINT_EXCEPTIONS)
#undef ARMA_PRINT_EXCEPTIONS
#endif
#if defined(ARMA_DONT_PRINT_HDF5_ERRORS)
#undef ARMA_PRINT_HDF5_ERRORS
#endif