From 112c4528d3107227abe71a64758ae1a5ddf3edc5 Mon Sep 17 00:00:00 2001 From: Josip Mrden <josip.mrden@memgraph.io> Date: Wed, 28 Feb 2024 15:13:37 +0100 Subject: [PATCH] Fixed condition for mg assert --- src/query/interpreter_context.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }