Skip to content

Commit

Permalink
fix bug for compute express
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaying committed Jun 4, 2024
1 parent 35af91b commit 264a774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions express/Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 264a774

Please sign in to comment.