diff --git a/dlib/matrix/matrix_subexp.h b/dlib/matrix/matrix_subexp.h index a05dac6f6..bb4d8fa6f 100644 --- a/dlib/matrix/matrix_subexp.h +++ b/dlib/matrix/matrix_subexp.h @@ -48,7 +48,7 @@ namespace dlib { DLIB_ASSERT(inc > 0, "\tconst matrix_exp range(start, inc, end)" - << "\n\tstart can't be bigger than end" + << "\n\tInvalid inputs to this function" << "\n\tstart: " << start << "\n\tinc: " << inc << "\n\tend: " << end