From 2ff0efa18cb9089eb2908022b06189beaa993bea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu>
Date: Mon, 17 Jun 2019 15:13:17 +0200
Subject: [PATCH] fixed switched assertion texts

---
 src/processor/motion_buffer.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/processor/motion_buffer.cpp b/src/processor/motion_buffer.cpp
index 5735441cb..37f840a50 100644
--- a/src/processor/motion_buffer.cpp
+++ b/src/processor/motion_buffer.cpp
@@ -107,8 +107,8 @@ void MotionBuffer::getMotion(const TimeStamp& _ts, Motion& _motion) const
 
 void MotionBuffer::split(const TimeStamp& _ts, MotionBuffer& _buffer_part_before_ts)
 {
-    assert((container_.front().ts_ <= _ts) && "Error: Query time stamp is greater than the buffer's last tick");
-    assert((container_.back().ts_ >= _ts) && "Error: Query time stamp is smaller than the buffer's first tick");
+    assert((container_.front().ts_ <= _ts) && "Error: Query time stamp is smaller than the buffer's first tick");
+    assert((container_.back().ts_ >= _ts) && "Error: Query time stamp is greater than the buffer's last tick");
 
     _buffer_part_before_ts.setCalibrationPreint(calib_preint_);
 
-- 
GitLab