fixed uninitialized variable.

This commit is contained in:
Davis King 2015-10-18 11:13:13 -04:00
parent 1a868800df
commit 7972f66360
1 changed files with 2 additions and 2 deletions

View File

@ -57,13 +57,13 @@ namespace dlib
class fc_
{
public:
fc_() : num_outputs(1)
fc_() : num_outputs(1), num_inputs(0)
{
}
explicit fc_(
unsigned long num_outputs_
) : num_outputs(num_outputs_)
) : num_outputs(num_outputs_), num_inputs(0)
{
}