You need to sign in or sign up before continuing.
Commit 6d721e5c authored by Davis King's avatar Davis King
Browse files

Fixed the visit_layers_backwards() and visit_layers_backwards_range() routines

so they visit layers in the correct order.
parent e73b9e3a
...@@ -3396,7 +3396,7 @@ namespace dlib ...@@ -3396,7 +3396,7 @@ namespace dlib
visitor&& v visitor&& v
) )
{ {
vl_loop<i+1, num>::visit(net,v); vl_loop_backwards<i+1, num>::visit(net,v);
v(i, layer<i>(net)); v(i, layer<i>(net));
} }
}; };
......
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