/normxcorr/trunk

To get this branch, use:
bzr branch http://suren.me/webbzr/normxcorr/trunk

« back to all changes in this revision

Viewing changes to dict_hw/src/dict_hw_test.cpp

  • Committer: Suren A. Chilingaryan
  • Date: 2009-12-17 13:31:12 UTC
  • Revision ID: csa@dside.dyndns.org-20091217133112-zw8j5636ln8ec0cf
Fixes of few minor bugs

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
        exit(-1);
181
181
    }
182
182
 
183
 
    if (argc > argc - 2) maximg = atoi(argv[optind+1]);
 
183
    if (optind < (argc - 1)) maximg = atoi(argv[optind+1]);
184
184
    else maximg = 0;
185
185
    
186
186
    images = (char**)malloc(size * sizeof(char*));