Skip to content

Commit e0e05d8

Browse files
authored
Update viterbi.cpp
1 parent 454b5fe commit e0e05d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

viterbi/viterbi.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ std::vector<int> exclude_states_in_c; //global exclude states
1717
// Function prototype for viterbi_main with C linkage specification
1818
extern "C" void run_viterbi(std::vector<int> observation, int num_observations, std::vector<int> states, int num_states, std::vector<std::vector<double>> transition_matrix, std::vector<std::vector<double>> emission_matrix, std::vector<double> initial_matrix, std::vector<int> states_to_work_python);
1919

20-
// Implementation of my_cpp_function with C linkage specification
20+
// Implementation of viterbi with C linkage specification
2121
extern "C" void viterbi(std::vector<int> observation, int num_observations, std::vector<int> states, int num_states, std::vector<std::vector<double>> transition_matrix, std::vector<std::vector<double>> emission_matrix, std::vector<double> initial_matrix, std::vector<int> states_to_work_python)
2222
{
2323
// Run viterbi program
@@ -155,4 +155,4 @@ extern "C" int* viterbi_main(int* obs, int num_observations, int num_states, dou
155155
int * result = exclude_states_in_c.data();
156156
return result;
157157

158-
}
158+
}

0 commit comments

Comments
 (0)