"git@developer.sourcefind.cn:modelzoo/diffbir_pytorch.git" did not exist on "c18c4eb658fbe32dc475f1f75667ae0186a8ef4f"
Commit b13840a8 authored by Davis King's avatar Davis King
Browse files

Fixed code needing C++14 to use C++11 features instead.

parent 46bcd205
...@@ -1890,7 +1890,7 @@ namespace dlib ...@@ -1890,7 +1890,7 @@ namespace dlib
// If nearest-neighbor interpolation is wanted, then don't use an image pyramid. // If nearest-neighbor interpolation is wanted, then don't use an image pyramid.
constexpr bool image_pyramid_enabled = !std::is_same< constexpr bool image_pyramid_enabled = !std::is_same<
std::remove_const_t<std::remove_reference_t<decltype(interp)>>, typename std::remove_const<typename std::remove_reference<decltype(interp)>::type>::type,
interpolate_nearest_neighbor interpolate_nearest_neighbor
>::value; >::value;
......
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