File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ find_package(catkin REQUIRED COMPONENTS
3636 ${catkin_BUILD_PACKAGES}
3737)
3838
39- find_package (Boost REQUIRED COMPONENTS signals system filesystem)
39+ find_package (Boost REQUIRED COMPONENTS system filesystem)
4040find_package (OpenCV REQUIRED)
4141#find_package(orocos_kdl REQUIRED)
4242#find_package(PCL REQUIRED)
Original file line number Diff line number Diff line change @@ -572,12 +572,8 @@ bool munkres::step5(int r, int c)
572572 // create our sequence
573573 while (!done)
574574 {
575- switch (looking_for_star)
575+ if (looking_for_star)
576576 {
577-
578- // if we're looking for a star
579- case true :
580-
581577 // special case protection
582578 a = r;
583579
@@ -611,11 +607,9 @@ bool munkres::step5(int r, int c)
611607 // we can't do this earlier due to needing to check for stars in the column
612608 // mark the column as starred
613609 column_starred[c] = true ;
614- break ;
615-
616- // if we're looking for a prime
617- case false :
618-
610+ }
611+ else
612+ {
619613 // prime current index
620614 cell_array[r][c].primed = false ;
621615 // unstar current index
@@ -630,7 +624,6 @@ bool munkres::step5(int r, int c)
630624
631625 // set case to look for star next
632626 looking_for_star = true ;
633- break ;
634627 }
635628 }
636629
You can’t perform that action at this time.
0 commit comments