Skip to content
Snippets Groups Projects
Commit 02920989 authored by Andrea Censi's avatar Andrea Censi
Browse files

failing properly

parent e6ec78fd
No related branches found
No related tags found
No related merge requests found
...@@ -123,7 +123,8 @@ int main(int argc, const char*argv[]) { ...@@ -123,7 +123,8 @@ int main(int argc, const char*argv[]) {
if(!result.valid){ if(!result.valid){
sm_error("One ICP matching failed. Because I process recursively, I will stop here.\n"); sm_error("One ICP matching failed. Because I process recursively, I will stop here.\n");
break; ld_free(laser_ref);
return 2;
} }
/* Add the result to the previous estimate */ /* Add the result to the previous estimate */
......
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