Skip to content
Snippets Groups Projects
Commit 5ca5f58d authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

split code for readability

parent 7a228241
No related branches found
No related tags found
1 merge request!157Kfpackmanager
......@@ -179,7 +179,6 @@ bool KFPackBuffer::checkTimeTolerance(const TimeStamp& _time_stamp1, const Scala
Scalar time_tol = std::min(_time_tolerance1, _time_tolerance2);
bool pass = time_diff <= time_tol;
return pass;
return (std::fabs(_time_stamp1 - _time_stamp2) <= std::min(_time_tolerance1, _time_tolerance2));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment