diff options
author | John Langford <jl@humpty.(none)> | 2011-04-11 21:49:46 +0400 |
---|---|---|
committer | John Langford <jl@humpty.(none)> | 2011-04-11 21:49:46 +0400 |
commit | 87f0c2a8902d0bdbb79f1415510dc8824d561111 (patch) | |
tree | 83310a16a7f5703d4be2a6efc9c3f6209e8fd826 /parser.cc | |
parent | 796ba13a199b9e13e42ae2f1eba73299f9216de3 (diff) |
fixed Sanmi's bug in --ignore
Diffstat (limited to 'parser.cc')
-rw-r--r-- | parser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -555,7 +555,7 @@ void setup_example(parser* p, example* ae) if (global.ignore[*i]) {//delete namespace ae->atomics[*i].erase(); - memmove(i,i+1,ae->indices.end - (i+1)); + memmove(i,i+1,(ae->indices.end - (i+1))*sizeof(size_t)); ae->indices.end--; i--; } |