diff --git a/org/qmckl_context.org b/org/qmckl_context.org index 9054ba1..33020d0 100644 --- a/org/qmckl_context.org +++ b/org/qmckl_context.org @@ -520,11 +520,13 @@ assert(qmckl_context_check(context) == context); assert(qmckl_context_destroy(context) == QMCKL_SUCCESS); /* Check that context is destroyed */ +#ifndef DEBUG assert(qmckl_context_check(context) != context); assert(qmckl_context_check(context) == QMCKL_NULL_CONTEXT); /* Destroy invalid context */ assert(qmckl_context_destroy(QMCKL_NULL_CONTEXT) == QMCKL_INVALID_CONTEXT); +#endif #+end_src * End of files :noexport: