add clear for fvec

This commit is contained in:
2026-03-19 14:44:25 +03:00
parent 901c71f4eb
commit f904e78792
3 changed files with 15 additions and 8 deletions

View File

@@ -14,12 +14,12 @@ auto main() -> int
auto r = hr::run<hr::plugins::raw_data>(setup);
hack::log()("size:", r.size());
// if (!r.empty())
// {
// std::vector<float> res;
// for (auto& p : r.m_data)
// for (auto s : p)
// res.push_back(s.m_value);
// hack::log()(res);
// }
if (!r.empty())
{
std::vector<float> res;
for (auto& p : r.m_data)
for (auto s : p)
res.push_back(s.m_value);
hack::log()(res);
}
}