Commit 355516bc authored by oscar's avatar oscar

提交修改

parent 8587f1d0
......@@ -99,7 +99,7 @@ int BaseTracker<T>::Run(const std::vector<std::vector<float> >& detections, std:
X.get()[bs_i] = m_tracker[id]->GetStatesXPtr();
P.get()[bs_i] = m_tracker[id]->GetPredictPtr();
float* ptr_HX = HX.get() + bs_i * no;
memcpy(ptr_HX, m_tracker[id]->GetStatesXPtr(), no);
memcpy(ptr_HX, m_tracker[id]->GetStatesXPtr(), no*sizeof(float));
if (ns == 0)
{
ns = m_tracker[id]->GetStatesNum();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment