diff --git a/test/net/test_mobilenet.cpp b/test/net/test_mobilenet.cpp index 8d6fc43d96a358cfd421d12d1e31e638e763a11f..d7793f729866024e2560ad13ac5613172eecc4dd 100644 --- a/test/net/test_mobilenet.cpp +++ b/test/net/test_mobilenet.cpp @@ -31,7 +31,7 @@ int main() { // 预热一次 auto vec_result = paddle_mobile.Predict(input, dims); std::vector::iterator biggest = - std::max_element(std::begin(vec_result), std::end(vec_result)); + std::max_element(std::begin(vec_result), std::end(vec_result)); std::cout << " Max element is " << *biggest << " at position " << std::distance(std::begin(vec_result), biggest) << std::endl;