Skip to content

Commit

Permalink
Disable abort test in calculations.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtschump committed Jan 11, 2023
1 parent aeb53e0 commit bd8d028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gmic.h
Expand Up @@ -213,8 +213,8 @@ namespace gmic_library {

#ifdef cimg_use_abort
inline bool *gmic_current_is_abort();
#define cimg_abort_init bool *const gmic_is_abort = ::gmic_current_is_abort()
#define cimg_abort_test if (*gmic_is_abort) throw CImgAbortException()
//#define cimg_abort_init bool *const gmic_is_abort = ::gmic_current_is_abort()
//#define cimg_abort_test if (*gmic_is_abort) throw CImgAbortException()
#endif

inline double gmic_mp_dollar(const char *const str, void *const p_list);
Expand Down

0 comments on commit bd8d028

Please sign in to comment.