Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhongyii committed Dec 13, 2024
1 parent 1be61e6 commit ac5afae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/serve/threaded_engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ class ThreadedEngineImpl : public ThreadedEngine {
} else if (kind == InstructionKind::kDebugCallFuncOnAllAllWorker) {
CHECK(background_engine_ != nullptr) << "Background engine is not loaded.";
Array<ObjectRef> packed_args = Downcast<Array<ObjectRef>>(arg);
background_engine_->DebugCallFuncOnAllAllWorker(Downcast<String>(packed_args[0]),
Downcast<String>(packed_args[1]));
background_engine_->DebugCallFuncOnAllAllWorker(
Downcast<String>(packed_args[0]), Downcast<Optional<String>>(packed_args[1]));
} else {
LOG(FATAL) << "Cannot reach here";
}
Expand Down

0 comments on commit ac5afae

Please sign in to comment.