mirror of https://github.com/davisking/dlib.git
fixed uninitialized variable.
This commit is contained in:
parent
1a868800df
commit
7972f66360
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue