mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-29 19:21:14 +00:00
Fix axes metadata assert (#239)
This commit is contained in:
committed by
GitHub
parent
c463a783bb
commit
53bf11a27d
@@ -63,7 +63,7 @@ try
|
|||||||
for (std::size_t i = 0; i < names.size(); ++i)
|
for (std::size_t i = 0; i < names.size(); ++i)
|
||||||
{
|
{
|
||||||
auto &axis = *m_axes[i];
|
auto &axis = *m_axes[i];
|
||||||
assert(axis.get_type() != nvbench::axis_type::type);
|
assert(axis.get_type() == nvbench::axis_type::type);
|
||||||
axis.set_name(std::move(names[i]));
|
axis.set_name(std::move(names[i]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user