We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00a145f commit 214de4bCopy full SHA for 214de4b
components/acoustics/api/v1/task_sc.hpp
@@ -483,9 +483,9 @@ struct TaskSC final
483
data["ts"] += std::chrono::duration_cast<std::chrono::milliseconds>(
484
std::chrono::steady_clock::now() - _start_time)
485
.count();
486
- auto cls_data = data["data"].writer<core::ArrayWriter>();
487
if (status && _output) [[likely]]
488
{
+ auto cls_data = data["data"].writer<core::ArrayWriter>();
489
const int size = _output->shape().size() ? _output->shape()[0] : 0;
490
const auto classes = _output->data<core::class_t>();
491
for (int i = 0; i < size; ++i)
0 commit comments