diff --git a/src/query/interpreter_context.hpp b/src/query/interpreter_context.hpp index 1849431f5..3ac4193ce 100644 --- a/src/query/interpreter_context.hpp +++ b/src/query/interpreter_context.hpp @@ -58,7 +58,7 @@ struct InterpreterContext { static InterpreterContext *instance; static InterpreterContext *getInstance() { - MG_ASSERT(instance == nullptr, "Interpreter context has not been initialized!"); + MG_ASSERT(instance != nullptr, "Interpreter context has not been initialized!"); return instance; }