Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
unaidedelf8777 committed May 6, 2024
1 parent 97d1d69 commit 5bb4bff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions function_sampler/fsm/fsm_utils/src/tokenizer_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ use crate::types::build_dfa;
fn walk_fsm(
fsm_info: &FSMInfo,
input_string: &str,
start_state: i64,
start_state: u32,
full_match: bool,
) -> Vec<i64> {
) -> Vec<u32> {
let mut state = start_state;
let mut accepted_states = Vec::new();
let mut last_final_idx: Option<usize> = None;
Expand Down

0 comments on commit 5bb4bff

Please sign in to comment.