From 8a7f6873bed5e4e2802106df9e170efabd381a95 Mon Sep 17 00:00:00 2001 From: Davis King Date: Mon, 18 Apr 2016 18:11:16 -0400 Subject: [PATCH] Fixed typo in error message --- dlib/optimization/optimization_bobyqa.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlib/optimization/optimization_bobyqa.h b/dlib/optimization/optimization_bobyqa.h index 5632dff81..75d28e9cd 100644 --- a/dlib/optimization/optimization_bobyqa.h +++ b/dlib/optimization/optimization_bobyqa.h @@ -3360,7 +3360,7 @@ L210: DLIB_CASSERT(is_col_vector(x) && is_col_vector(x_lower) && is_col_vector(x_upper) && x.size() == x_lower.size() && x_lower.size() == x_upper.size() && x.size() > 1 && max_f_evals > 1, - "\tvoid find_min_bobyqa()" + "\tdouble find_min_bobyqa()" << "\n\t Invalid arguments have been given to this function" << "\n\t is_col_vector(x): " << is_col_vector(x) << "\n\t is_col_vector(x_lower): " << is_col_vector(x_lower) @@ -3375,7 +3375,7 @@ L210: 0 < rho_end && rho_end < rho_begin && min(x_upper - x_lower) > 2*rho_begin && min(x - x_lower) >= 0 && min(x_upper - x) >= 0, - "\tvoid find_min_bobyqa()" + "\tdouble find_min_bobyqa()" << "\n\t Invalid arguments have been given to this function" << "\n\t ntp in valid range: " << (x.size() + 2 <= npt && npt <= (x.size()+1)*(x.size()+2)/2) << "\n\t npt: " << npt