mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
minor change to avoid compiler warning
This commit is contained in:
parent
4cb7f7af8f
commit
26639d629b
@ -376,7 +376,7 @@ void make_dataset (
|
|||||||
unsigned long previous_label = rnd.get_random_32bit_number()%num_label_states;
|
unsigned long previous_label = rnd.get_random_32bit_number()%num_label_states;
|
||||||
for (unsigned long i = 0; i < sample.size(); ++i)
|
for (unsigned long i = 0; i < sample.size(); ++i)
|
||||||
{
|
{
|
||||||
unsigned long next_label, next_sample;
|
unsigned long next_label = 0, next_sample = 0;
|
||||||
sample_hmm(rnd, transition_probabilities, emission_probabilities,
|
sample_hmm(rnd, transition_probabilities, emission_probabilities,
|
||||||
previous_label, next_label, next_sample);
|
previous_label, next_label, next_sample);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user