add clear for fvec
This commit is contained in:
16
bin/main.cpp
16
bin/main.cpp
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user