Commit dffd7307 authored by Davis King's avatar Davis King

Fixed a compile time error in clean()

parent 6c36592c
...@@ -1056,7 +1056,7 @@ namespace dlib ...@@ -1056,7 +1056,7 @@ namespace dlib
) )
{ {
temp_tensor.clear(); temp_tensor.clear();
subnetwork.clear(); subnetwork.clean();
} }
friend void serialize(const add_loss_layer& item, std::ostream& out) friend void serialize(const add_loss_layer& item, std::ostream& out)
......
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