diff --git a/dlib/test/blas_bindings/blas_bindings_dot.cpp b/dlib/test/blas_bindings/blas_bindings_dot.cpp index 9f6aab940..0571b0685 100644 --- a/dlib/test/blas_bindings/blas_bindings_dot.cpp +++ b/dlib/test/blas_bindings/blas_bindings_dot.cpp @@ -146,10 +146,18 @@ namespace val = dot(rv,cv); DLIB_TEST(counter_dot() == 1); + counter_dot() = 0; + val = dot(rv,colm(cv,0)); + DLIB_TEST(counter_dot() == 1); + counter_dot() = 0; val = dot(cv,cv); DLIB_TEST(counter_dot() == 1); + counter_dot() = 0; + val = dot(colm(cv,0,cv.size()),colm(cv,0)); + DLIB_TEST(counter_dot() == 1); + counter_dot() = 0; val = dot(rv,rv); DLIB_TEST(counter_dot() == 1);