Commit 6e98d1ec authored by Sascha Dewes's avatar Sascha Dewes
Browse files

Updated some tests to match the new default bounds

parent d1350129
......@@ -36,7 +36,7 @@ class RosAdapter_test_basicGenericInstance_basicGeneric: public IAdapter_test_ba
int counter = 0;
for(int i0 = 0; i0 < n; i0++){
for(int i1 = 0; i1 < n; i1++){
if(0 <= counter && counter <= n-1){
if(0 <= counter && counter <= msg->data.size()-1){
(component->mat1)(i0, i1) = msg->data[counter];
}
else if(0 > counter){
......
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