From 264a774db8803a2925d249d4cf6d8a9840508703 Mon Sep 17 00:00:00 2001 From: xiaying Date: Tue, 4 Jun 2024 11:54:03 +0800 Subject: [PATCH] fix bug for compute express --- express/Utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/express/Utils.cpp b/express/Utils.cpp index 015f214dd..3826d5679 100644 --- a/express/Utils.cpp +++ b/express/Utils.cpp @@ -256,9 +256,9 @@ ErrorCode Executor::ComputeCache::compute() { visited.insert(cache); dfsStack.pop(); if (debug->after != nullptr && debug->before != nullptr) { - code = mSession->runWithCallBack(debug->before, debug->after); + code = cache->mSession->runWithCallBack(debug->before, debug->after); } else { - code = mSession->run(); + code = cache->mSession->run(); } if (NO_ERROR != code) { return code;