diff regexParser/threadedSearch.cc @ 252:2b276fdd99bd

remove error (not working)
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Sun, 24 Jan 2016 11:48:06 +0900
parents e22e3475f664
children 21b9ba76f91b
line wrap: on
line diff
--- a/regexParser/threadedSearch.cc	Sat Jan 23 14:10:28 2016 +0900
+++ b/regexParser/threadedSearch.cc	Sun Jan 24 11:48:06 2016 +0900
@@ -54,8 +54,8 @@
                     StatePtr state = tsv.tg->stateArray[ccv->state.bitContainer];
                     if (state == NULL) {
                         // on the fly subset construction.
-                        state = createState(tsv.tg,bi);
-                        tsv.tg->stateArray[bi.bitContainer] = state;
+                        state = createState(tsv.tg,state->bitState);
+                        tsv.tg->stateArray[state->bitState.bitContainer] = state;
                         determinize(state,tsv.tg);
                     }
                     if (state->tState == NULL) {