Skip to content

Commit

Permalink
fix wrong visibility modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
zh217 committed Jun 1, 2024
1 parent adb9a1d commit a4aee1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hmm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn viterbi(sentence: &str, hmm_context: &mut HmmContext) {
let str_len = sentence.len();
let states = [State::Begin, State::Middle, State::End, State::Single];
#[allow(non_snake_case)]
let R = states.len();
let R = states.len();
let C = sentence.chars().count();
assert!(C > 1);

Expand Down

0 comments on commit a4aee1c

Please sign in to comment.