Skip to content

Commit 214de4b

Browse files
committed
fix: misplaced close bracket of cls data
1 parent 00a145f commit 214de4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/acoustics/api/v1/task_sc.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,9 +483,9 @@ struct TaskSC final
483483
data["ts"] += std::chrono::duration_cast<std::chrono::milliseconds>(
484484
std::chrono::steady_clock::now() - _start_time)
485485
.count();
486-
auto cls_data = data["data"].writer<core::ArrayWriter>();
487486
if (status && _output) [[likely]]
488487
{
488+
auto cls_data = data["data"].writer<core::ArrayWriter>();
489489
const int size = _output->shape().size() ? _output->shape()[0] : 0;
490490
const auto classes = _output->data<core::class_t>();
491491
for (int i = 0; i < size; ++i)

0 commit comments

Comments
 (0)