Commit 37a77ad8 authored by Davis King's avatar Davis King

Fixed broken copy constructor and assignment operator of con_, which became

broken about an hour ago.  Oops.
parent d780f8bc
...@@ -118,6 +118,7 @@ namespace dlib ...@@ -118,6 +118,7 @@ namespace dlib
weight_decay_multiplier(item.weight_decay_multiplier), weight_decay_multiplier(item.weight_decay_multiplier),
bias_learning_rate_multiplier(item.bias_learning_rate_multiplier), bias_learning_rate_multiplier(item.bias_learning_rate_multiplier),
bias_weight_decay_multiplier(item.bias_weight_decay_multiplier), bias_weight_decay_multiplier(item.bias_weight_decay_multiplier),
num_filters_(item.num_filters_),
padding_y_(item.padding_y_), padding_y_(item.padding_y_),
padding_x_(item.padding_x_) padding_x_(item.padding_x_)
{ {
...@@ -143,6 +144,7 @@ namespace dlib ...@@ -143,6 +144,7 @@ namespace dlib
weight_decay_multiplier = item.weight_decay_multiplier; weight_decay_multiplier = item.weight_decay_multiplier;
bias_learning_rate_multiplier = item.bias_learning_rate_multiplier; bias_learning_rate_multiplier = item.bias_learning_rate_multiplier;
bias_weight_decay_multiplier = item.bias_weight_decay_multiplier; bias_weight_decay_multiplier = item.bias_weight_decay_multiplier;
num_filters_ = item.num_filters_;
return *this; return *this;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment